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

File transfer (upload+download) fails over FTP + TLS #5658

Closed
cyberduck opened this issue Jan 18, 2011 · 2 comments
Closed

File transfer (upload+download) fails over FTP + TLS #5658

cyberduck opened this issue Jan 18, 2011 · 2 comments
Assignees
Labels
bug duplicate ftp-tls FTP (TLS) Protocol Implementation

Comments

@cyberduck
Copy link
Collaborator

e4b56b7 created the issue

File transfers fail when using ftps (AUTH TLS).

Logon to the server works normally.
Directory listing and browsing the remote file system works OK.
I'm able to create a new folder, although I have to double-click it twice before it opens.
But, when trying upload or download, I get an error "425 Unable to build data connection: Operation not permitted".

Log from download (filenames and IP:s edited):

220 ProFTPD 1.3.3c Server (*** FTP-palvelin) [195.***.***.***]
AUTH TLS
234 AUTH TLS successful
USER ********
331 Password required for ********
PASS ********
230 User ******** logged in
PBSZ 0
200 PBSZ 0 successful
PROT P
200 Protection set to Private
FEAT
211-Features:
 MDTM
 MFMT
 TVFS
 AUTH TLS
 MFF modify;UNIX.group;UNIX.mode;
 MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
 PBSZ
 PROT
 REST STREAM
 SIZE
211 End
NOOP
200 NOOP command successful
NOOP
200 NOOP command successful
CWD /***/
250 CWD command successful
SYST
215 UNIX Type: L8
STAT /***/
211-Status of /***:
 drwxrwxr-x   4 ******** private      1024 Jan 18 21:35 .
 drwxrwxr-x   3 ******** private      1024 Jan 15 22:39 ..
 -rw-rw-r--   1 ******** private   7629530 Jan 18 21:34 ********.mp3
 -rw-rw-r--   1 ******** private         0 Jan 18 21:36 ********.mp3
 drwxrwxr-x   2 ******** private      1024 Jan 15 23:30 folder1
 drwxrwxr-x   2 ******** private      1024 Jan 15 23:24 folder2
211 End of status
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (195,***,***,***,***,***).
RETR /***/********.mp3
150 Opening BINARY mode data connection for /***/********.mp3 (7629530 bytes)
425 Unable to build data connection: Operation not permitted
QUIT
221 Goodbye.

Log from upload:

220 ProFTPD 1.3.3c Server (*** FTP-palvelin) [195.***.***.***]
AUTH TLS
234 AUTH TLS successful
USER ********
331 Password required for ********
PASS ********
230 User ******** logged in
PBSZ 0
200 PBSZ 0 successful
PROT P
200 Protection set to Private
FEAT
211-Features:
 MDTM
 MFMT
 TVFS
 AUTH TLS
 MFF modify;UNIX.group;UNIX.mode;
 MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
 PBSZ
 PROT
 REST STREAM
 SIZE
211 End
NOOP
200 NOOP command successful
CWD /***
250 CWD command successful
STAT /***
211-Status of /***:
 drwxrwxr-x   4 ******** private      1024 Jan 18 22:01 .
 drwxrwxr-x   3 ******** private      1024 Jan 15 22:39 ..
 -rw-rw-r--   1 ******** private   7629530 Jan 18 21:34 *******0.mp3
 -rw-rw-r--   1 ******** private         0 Jan 18 21:36 *******1.mp3
 drwxrwxr-x   2 ******** private      1024 Jan 15 23:30 folder1
 drwxrwxr-x   2 ******** private      1024 Jan 15 23:24 folder2
211 End of status
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (195,***,***,***,***,***).
STOR /***/*******2.mp3
150 Opening BINARY mode data connection for /***/*******2.mp3
QUIT
425 Unable to build data connection: Operation not permitted
@cyberduck
Copy link
Collaborator Author

e4b56b7 commented

Additional notes:

  • upload and download works without TLS using Cyberduck
  • upload and download with TLS works with another FTP client

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Thanks for the detailed report. Duplicate for #5087. Refer to ProFTPd compatibility notes.

@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 duplicate ftp-tls FTP (TLS) Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants