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

Empty directory listing #7737

Closed
cyberduck opened this issue Jan 16, 2014 · 9 comments
Closed

Empty directory listing #7737

cyberduck opened this issue Jan 16, 2014 · 9 comments
Assignees
Labels
bug fixed ftp FTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

15ba2d3 created the issue

Hi there, I have today upgraded from Cyberduck v4.3.1 to the latest v4.4.3 and now my FTPS connection to a Windows 2012 Server has stopped working correctly.

By that I mean Cyberduck connects but does not show a directory listing. If I then drag a file to Cyberduck to upload, it appears to go through the upload process and complete, but on viewing the upload folder on the destination server nothing is there.

I have now reverted to v4.3.1 and everything is working fine again.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Please post the transcript from the log drawer (⌘-L).

@cyberduck
Copy link
Collaborator Author

15ba2d3 commented

here you go...

NOOP
200 NOOP command successful.
CWD /
250 CWD command successful.
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (111,222,333,444,193,71).
LIST
125 Data connection already open; Transfer starting.
226 Transfer complete.

As you can see it appears to upload successfully but no file actually is on the server.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Can you please post the transcript when working with version 4.3.1 for comparison.

@cyberduck
Copy link
Collaborator Author

15ba2d3 commented

Ok, ignore my previous transcript. I have captured the full detail of the two versions below.

@cyberduck
Copy link
Collaborator Author

15ba2d3 commented

v4.3.1

220 Microsoft FTP Service
AUTH TLS
234 AUTH command ok. Expecting TLS Negotiation.
USER staging
331 Password required
PASS ********
230 User logged in.
PBSZ 0
200 PBSZ command successful.
PROT P
200 PROT command successful.
FEAT
211-Extended features supported:

 LANG EN*

 UTF8

 AUTH TLS;TLS-C;SSL;TLS-P;

 PBSZ

 PROT C;P;

 CCC

 HOST

 SIZE

 MDTM

 REST STREAM

211 END
OPTS UTF8 ON
200 OPTS UTF8 command successful - UTF8 encoding now ON.
PWD
257 "/" is current directory.
NOOP
200 NOOP command successful.
SYST
215 Windows_NT
CWD /
250 CWD command successful.
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (111,222,333,444,193,75).
LIST -a
125 Data connection already open; Transfer starting.
226 Transfer complete.
PASV
227 Entering Passive Mode (111,222,333,444,193,76).
LIST
125 Data connection already open; Transfer starting.
226 Transfer complete.
NOOP
200 NOOP command successful.
CWD /
250 CWD command successful.
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (111,222,333,444,193,80).
LIST -a
125 Data connection already open; Transfer starting.
01-16-14  02:20PM              1238960 Services.zip
226 Transfer complete.

@cyberduck
Copy link
Collaborator Author

15ba2d3 commented

v4.4.3

220 Microsoft FTP Service
AUTH TLS
234 AUTH command ok. Expecting TLS Negotiation.
USER staging
331 Password required
PASS ********
230 User logged in.
PBSZ 0
200 PBSZ command successful.
PROT P
200 PROT command successful.
FEAT
211-Extended features supported:

 LANG EN*

 UTF8

 AUTH TLS;TLS-C;SSL;TLS-P;

 PBSZ

 PROT C;P;

 CCC

 HOST

 SIZE

 MDTM

 REST STREAM

211 END
OPTS UTF8 ON
200 OPTS UTF8 command successful - UTF8 encoding now ON.
SYST
215 Windows_NT
PWD
257 "/" is current directory.
CWD /
250 CWD command successful.
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (111,222,333,444,193,89).
LIST -a
125 Data connection already open; Transfer starting.
226 Transfer complete.
CWD /
250 CWD command successful.
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (111,222,333,444,193,90).
LIST
125 Data connection already open; Transfer starting.
226 Transfer complete.
NOOP
200 NOOP command successful.
CWD /
250 CWD command successful.
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (111,222,333,444,193,94).
LIST
125 Data connection already open; Transfer starting.
226 Transfer complete.

@cyberduck
Copy link
Collaborator Author

15ba2d3 commented

SYST 215 Windows_NT seems to be the only difference.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

The server does only return a directory listing for LIST -a but not for LIST. Because it looks like LIST -a is not supported because the initial directory listing before the upload is empty, the use of LIST -a is disabled for subsequent directory listings and thus the listing is empty after the upload.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 35b5880.

@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