1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-29 03:17:53 -04:00

[sftp] Restart connection and add / in case of error

This commit is contained in:
Witold Filipczyk 2023-06-21 19:32:06 +02:00
parent 285fe378b5
commit e53f7d8286

View File

@ -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) {