Cyberduck Mountain Duck CLI

#5083 closed defect (thirdparty)

Cannot upload to write-only FTP site, disconnects after LIST

Reported by: https://www.google.com/accounts/o8/id?id=aitoawmzikh8lrneathzoauemj0_vbiefbmqwt8 Owned by: dkocher
Priority: normal Milestone: 3.6
Component: ftp Version: 3.5.1
Severity: normal Keywords:
Cc: nik@… Architecture: Intel
Platform: Mac OS X 10.6

Description

I am connecting to a write-only FTP site. When I connect, Cyberduck throws an error that access is denied for the LIST -a command. After that error, Cyberduck disconnects from the site, so I cannot upload to it.

Preferred behavior would be to prompt with the error, but maintain the connection so that the user can upload files to the write-only directory. The error message itself should contain the information that this may be a write-only directory, so it doesn't confuse the user.

Change History (3)

comment:1 Changed on Aug 5, 2010 at 6:13:01 AM by dkocher

  • Milestone set to 3.6
  • Resolution set to fixed
  • Status changed from new to closed

That should be fixed in the current snapshot build. Please give it a try and report back.

comment:2 follow-up: Changed on Aug 5, 2010 at 2:59:23 PM by https://www.google.com/accounts/o8/id?id=aitoawmzikh8lrneathzoauemj0_vbiefbmqwt8

  • Cc nik@… added
  • Resolution fixed deleted
  • Status changed from closed to reopened

Re-opening this, since there's still a problem. Testing using latest snapshot build (3.6 build 6559)

When I connect, it hangs on "Listing directory <dirname>". Transcript is as follows:

220 Microsoft FTP Service
FEAT
530 Please login with USER and PASS.
USER xxxx
331 Password required for xxxx.
PASS ********
230 User xxxx logged in.
PWD
257 "/upload" is current directory.
NOOP
200 NOOP command successful.
SYST
215 Windows_NT
STAT /upload
213-status of /upload:
213 End of status.
PORT 10,1,3,5,248,201
200 PORT command successful.
LIST -a
150 Opening ASCII mode data connection for /bin/ls.

I then tried disabling list commands (all of them), and end up with a disconnect with "2 bookmarks" in the status bar. Transcript there is:

220 Microsoft FTP Service
USER japs
331 Password required for japs.
PASS ********
230 User japs logged in.
FEAT
211-FEAT
    SIZE
    MDTM
211 END
PWD
257 "/japs" is current directory.
NOOP
200 NOOP command successful.
SYST
215 Windows_NT
PASV
227 Entering Passive Mode (12,2,77,227,13,232).
LIST
125 Data connection already open; Transfer starting.

comment:3 in reply to: ↑ 2 Changed on Aug 5, 2010 at 4:20:32 PM by dkocher

  • Resolution set to thirdparty
  • Status changed from reopened to closed

Replying to https://www.google.com/accounts/o8/id?id=aitoawmzikh8lrneathzoauemj0_vbiefbmqwt8:

Re-opening this, since there's still a problem. Testing using latest snapshot build (3.6 build 6559)

Thanks for the additional information. The server should response error message denying access to the directory. Instead it just ignores the LIST request which is not according to the FTP protocol. Please report to the server vendor.

Note: See TracTickets for help on using tickets.