Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with empty MLSD response #10138

Closed
cyberduck opened this issue Nov 14, 2017 · 2 comments
Closed

Problem with empty MLSD response #10138

cyberduck opened this issue Nov 14, 2017 · 2 comments
Assignees
Labels
bug fixed ftp FTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

eac784b created the issue

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*)
@cyberduck
Copy link
Collaborator Author

@dkocher commented

Can you name the server software that will allow us to reproduce the problem.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 18e26aa.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed ftp FTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants