[Cyberduck-trac] [Cyberduck] #10138: Problem with empty MLSD response

Cyberduck trac at cyberduck.io
Tue Nov 14 15:29:21 UTC 2017


#10138: Problem with empty MLSD response
--------------------------+-------------------------
    Reporter:  wellhardh  |      Owner:
        Type:  defect     |     Status:  new
    Priority:  normal     |  Milestone:
   Component:  core       |    Version:  6.2.10
    Severity:  normal     |   Keywords:
Architecture:  Intel      |   Platform:  macOS 10.12
--------------------------+-------------------------
 When trying to upload a file to an empty directory a dialog appears
 showing "Interoperability failure, 200 Using ASCII mode for transferring
 files. Please contact your web hosting service provider for assistance".

 We have tracked down the problem to the MLSD command. It looks like
 cyberduck is not waiting for the "226 Transfer complete" message before
 continuing with the STAT. After this the client is out of sync and at the
 end of the log it mistreats the 200 response as a response to the PASV
 command and thus showing the dialog.

 Log:
 {{{
 PASV
 227 Entering Passive Mode. (*censored*)
 [Replacing PASV mode reply address *censored* with *censored*]
 MLSD
 150 Opening BINARY mode data connection for /aDONE-SEPT2017/
 STAT /aDONE-SEPT2017
 226 Transfer complete.
 CWD /aDONE-SEPT2017
 213-status of "/aDONE-SEPT2017":
  drwxr-xr-x   1 1009       wheel           512 Nov 14 04:10 /aDONE-
 SEPT2017
 213 End of Status
 TYPE A
 250 Current directory is now /aDONE-SEPT2017/.
 PASV
 200 Using ASCII mode for transferring files.
 CWD /aDONE-SEPT2017
 227 Entering Passive Mode. (*censored*)
 TYPE A
 250 Current directory is now /aDONE-SEPT2017/.
 PASV
 200 Using ASCII mode for transferring files.
 QUIT
 227 Entering Passive Mode. (*censored*)
 }}}

--
Ticket URL: <https://trac.cyberduck.io/ticket/10138>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows


More information about the Cyberduck-trac mailing list