I've got Ubuntu 10.04 Desktop running as a web server and have just installed vsftpd and set it up to allow ascii_upload_enable and ascii_download_enable and also enabled chroot_local_user, chroot_list_enable and chroot_list_file.
However, I'm having trouble getting a file listing back from the server using FileZilla, this is what happens:
Status: Resolving address of server.jonbevan.me.uk
Status: Connecting to 184.108.40.206:21...
Status: Connection established, waiting for welcome message...
Response: 220 Welcome to server.jonbevan.me.uk FTP service.
Command: USER jon
Response: 331 Please specify the password.
Command: PASS *********
Response: 230 Login successful.
Command: OPTS UTF8 ON
Response: 200 Always in UTF8 mode.
Status: Retrieving directory listing...
Command: CWD /home/jon
Response: 250 Directory successfully changed.
Response: 257 "/home/jon"
Command: TYPE I
Response: 200 Switching to Binary mode.
Response: 227 Entering Passive Mode (80,4,79,179,196,13)
Response: 425 Failed to establish connection.
Error: Failed to retrieve directory listing
And this happens in CuteFTP:
COMMAND:> [7/29/2010 3:23:43 PM] LIST
[7/29/2010 3:23:43 PM] 150 Here comes the directory listing.
ERROR:> [7/29/2010 3:24:13 PM] Timeout (30000 ms) occurred on accepting data connection from server.
[7/29/2010 3:24:13 PM] 426 Failure writing network stream.
ERROR:> [7/29/2010 3:24:13 PM] Trashed response received.
Any ideas what might be the problem? Apologies if I've missed out any important information.