mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[sftp] Restart connection and add / in case of error
This commit is contained in:
parent
285fe378b5
commit
e53f7d8286
@ -638,7 +638,7 @@ check_multi_info(GlobalInfo *g)
|
||||
res = msg->data.result;
|
||||
curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn);
|
||||
|
||||
if (res == CURLE_REMOTE_FILE_NOT_FOUND) {
|
||||
if (res == CURLE_REMOTE_FILE_NOT_FOUND || res == CURLE_SSH) {
|
||||
ftp = (struct ftpes_connection_info *)conn->info;
|
||||
|
||||
if (ftp && !ftp->dir) {
|
||||
|
Loading…
Reference in New Issue
Block a user