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

Directory listing failure for drftpd virtual folders #2027

Closed
cyberduck opened this issue May 11, 2008 · 8 comments
Closed

Directory listing failure for drftpd virtual folders #2027

cyberduck opened this issue May 11, 2008 · 8 comments
Assignees
Labels
bug ftp FTP Protocol Implementation wontfix
Milestone

Comments

@cyberduck
Copy link
Collaborator

anonymous created the issue

Since beta3 (beta2 workes good) i have a problem when downloading files from a drftpd server. The problem is, that if i download a whole folder, it starts downloading for a few files but very soon gives errors like "unable to get folder content". I switched back to beta2 and it works again. Hope this report helps to fix it.

Simon

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Can you post the transcript from View → Log Drawer.

@cyberduck
Copy link
Collaborator Author

anonymous commented

sure, here it comes:

AUTH TLS
234 AUTH TLS successful
PBSZ 0
200 Command okay
PROT P
200 Command okay
USER asd
331 Password required for asd.
PASS ********
230 asd logged in successfully.
NOOP
200 Command okay
NOOP
200 Command okay
SYST
215 UNIX system type.
CWD /test/0509
250 Directory changed to /test/0509
FEAT
211-Extensions supported:
 PRET
 AUTH SSL
 PBSZ
 CPSV
 SSCN
 CLNT
 NOOP
 MLST type*,x.crc32*,size*,modify*,unix.owner*,unix.group*,x.slaves*,x.xfertime*
211 End
PRET LIST -a
200 OK, will use master for upcoming transfer
PASV
227 Entering Passive Mode (xxxxx).
LIST -a
150 File status okay; about to open data connection.
total 0
...
...
...
226 Closing data connection
NOOP
200 Command okay
NOOP
200 Command okay
CWD /test/0509/test
PRET LIST -a
200 OK, will use master for upcoming transfer
PASV
227 Entering Passive Mode (xxxxxxxx).
LIST -a
150 File status okay; about to open data connection.
total 0
...
...
...
226 Closing data connection
NOOP
200 Command okay
CWD /test/0509/test/[ 15 of 15 files = 100% complete of 76.5MB | Hip-Hop 2008] 
550 /test/0509/test/[ 15 of 15 files = 100% complete of 76.5MB | Hip-Hop 2008]: File not found
TYPE I
200 Command okay
PRET RETR xxxxxxx
200 OK, will use slaves for upcoming transfer
PASV
227 Entering Passive Mode (xxxxx).
RETR xxxxxxxx
150 File status okay; about to open data connection from slave.
226- Checksum from transfer: 3bd7a578
226- checksum from transfer matched checksum in .sfv
226 Transfer complete, 1.1MB in 2.926 seconds (374.1KB/s)
PRET RETR xxxxxxxx
200 OK, will use slave for upcoming transfer
PASV
227 Entering Passive Mode (xxxxxxxx).
RETR xxxxxxxxx
150 File status okay; about to open data connection from slave.
226- Checksum from transfer: 50ab6fe0
226- checksum from transfer matched checksum in .sfv
226 Transfer complete, 4.9MB in 17.804 seconds (275.0KB/s)
PRET RETR xxxxxxxxxx
200 OK, will use slave for upcoming transfer
PASV
227 Entering Passive Mode (xxxxxxxxxx).
RETR xxxxxxxxxxx
150 File status okay; about to open data connection from slave.
226- Checksum from transfer: b9d3144f
226 Transfer complete, 20.8KB in 0.113 seconds (183.7KB/s)
PRET RETR xxxxxxxxx
200 OK, will use slave for upcoming transfer
PASV
227 Entering Passive Mode (xxxxxxxx).
RETR xxxxxxxxx
150 File status okay; about to open data connection from slave.
NOOP
226- Checksum from transfer: 5b042584
226- checksum from transfer matched checksum in .sfv
226 Transfer complete, 6.3MB in 21.087 seconds (298.6KB/s)

thats what the log window gives me.

The exact error message i get (in german) is:
"FTP Fehler: Ordnerinhalt anzeige fehlgeschlagen"

@cyberduck
Copy link
Collaborator Author

@dkocher commented

CWD /test/0509/test/[ 15 of 15 files = 100% complete of 76.5MB | Hip-Hop
2008]
550 /test/0509/test/[ 15 of 15 files = 100% complete of 76.5MB | Hip-Hop
2008]: File not found

I suppose this is not a new issue in Beta 3 but a issue with the particular folder name.

@cyberduck
Copy link
Collaborator Author

anonymous commented

But how comes beta2 handles this without Problems? When i start a download with beta2 (same folder) it runs through and in the end reports an error about not beeing able to download this "xx files of xx files complete" folder (i have not been able to skip this using the regex option, you have an idea?). But with beta3 this error pops up after a couple of files and also several times. So there must have been some change i guess.

@cyberduck
Copy link
Collaborator Author

anonymous commented

Just for information: Those folders dont actually exist in the FTP tree. Drftpd just shows them but you cant access/browse as they are only virtual ones. An option to skip them may be enough.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

You may want to exclude these using the regular expression feature in the Advanced Transfer Preferences.

@cyberduck
Copy link
Collaborator Author

anonymous commented

Could you maybe point me in the right direction about how the regex must look like (example for the dir above)?

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:8 anonymous]:

Could you maybe point me in the right direction about how the regex must look like (example for the dir above)?

For example to exclude all folders that begin with a [ bracket followed by any text, use

^\[(.)*

@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 ftp FTP Protocol Implementation wontfix
Projects
None yet
Development

No branches or pull requests

2 participants