Ticket #2634: mc-4.7.5.5-spftp.patch
File mc-4.7.5.5-spftp.patch, 655 bytes (added by sergem, 13 years ago) |
---|
-
lib/vfs/mc-vfs/ftpfs.c
Add detection of broken spftp servers, like ftp.symantec.com and download.nvidia.com diff -urN mc-4.7.5.5.orig/lib/vfs/mc-vfs/ftpfs.c mc-4.7.5.5/lib/vfs/mc-vfs/ftpfs.c
old new 592 592 593 593 reply_up = g_ascii_strup (reply_string, -1); 594 594 SUP.remote_is_amiga = strstr (reply_up, "AMIGA") != 0; 595 if (strstr (reply_up, " SPFTP/1.0.0000 SERVER ")) // handles `LIST -la` in a weird way 596 SUP.strict = RFC_STRICT; 595 597 g_free (reply_up); 596 598 597 599 if (MEDATA->logfile)