
13th January 2012, 23:26
|
|
Junior Member
|
|
Join Date: Jan 2012
Posts: 7
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Pure-FTP Login Problem
I'm at my wit's end - I'm hoping someone can help me out here.
I've been running ISPConfig3 for over a year. Today my FTP access has decided to just quit working. I'm seeing the same thing over and over in my FTP Client (FileZilla) - MLSD timeouts:
Code:
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 1 of 50 allowed.
Response: 220-Local time is now 16:47. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Command: USER XXXXX_base
Response: 331 User XXXXX_base OK. Password required
Command: PASS ************
Response: 230-User XXXXX_base has group access to: client1 sshusers
Response: 230 OK. Current restricted directory is /
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Extensions supported:
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: ESTP
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTA
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: 211 End.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PORT 72,58,234,181,172,199
Response: 200 PORT command successful
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing
I've tried everything I can think of - Passive & Active mode, opening a different set of ports on the router, upgrading FileZilla, router firmware upgrade, restarting Pure-Ftpd, changing the Passive ports in Pure-Ftpd (including opening the firewall for said ports), using a non-secure connection, etc and so on.
I've been at this for 5 hours. No matter what I try, I can't get a connection. It always times out at the MLSD command.
I have to get this site updated today and I'm completely stumped. Does anyone have any ideas? Even a non-FTP solution at this point.
|
|
The Following User Says Thank You to linus3xx For This Useful Post:
|
aldo (23rd February 2012)
|

14th January 2012, 05:25
|
|
Junior Member
|
|
Join Date: Jan 2012
Posts: 7
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Resolved
OK - finally got this resolved. Figured I'd give an update in case anyone else also runs into this brick wall.
First, I gave up on FTP and just hand-edited the PHP and HTML files through Putty using VI. It was fairly brutal but it worked and it saved me from losing a client.
Now that the crisis was over, I started downloading various FTP clients and just trying them one after the other. I finally had success with WinSCP. Don't ask me why that one worked when all the others didn't - have no idea. But I could finally connect, get a directory listing, transfer files back and forth, etc.
Anyway, miserable 12 hours but glad it's finally over.
|
|
The Following User Says Thank You to linus3xx For This Useful Post:
|
aldo (23rd February 2012)
|

19th January 2012, 21:46
|
|
Senior Member
|
|
Join Date: Jan 2007
Posts: 159
Thanks: 11
Thanked 4 Times in 4 Posts
|
|
It's also easy to edit the files using winscp. Just right-click and select edit.
|

20th January 2012, 18:02
|
|
Junior Member
|
|
Join Date: Jan 2012
Posts: 7
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Quote:
Originally Posted by PermaNoob
It's also easy to edit the files using winscp. Just right-click and select edit.
|
Yeah, I'm really liking WinSCP. I still have no idea why FileZilla just decided to quit working like that after a year. Maybe a recent update broke something.
What I've found with WinSCP is that I can now connect in Passive mode whereas before, with FileZilla, I could only get to the box in Active mode.
I've let my users know that they need to switch to WinSCP. So far, no complaints at all.
Thanks for the tip on editing - I'll give that a try!
|

21st January 2012, 05:01
|
|
Senior Member
|
|
Join Date: Jan 2007
Posts: 159
Thanks: 11
Thanked 4 Times in 4 Posts
|
|
Quote:
Originally Posted by linus3xx
Yeah, I'm really liking WinSCP. I still have no idea why FileZilla just decided to quit working like that after a year. Maybe a recent update broke something.
What I've found with WinSCP is that I can now connect in Passive mode whereas before, with FileZilla, I could only get to the box in Active mode.
I've let my users know that they need to switch to WinSCP. So far, no complaints at all.
Thanks for the tip on editing - I'll give that a try!
|
also convenient for reading log files, etc.
|

23rd February 2012, 15:56
|
|
HowtoForge Supporter
|
|
Join Date: Jan 2011
Posts: 66
Thanks: 24
Thanked 2 Times in 2 Posts
|
|
Quote:
Code:
...
...
Response: 200 PORT command successful
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing
|
I have the same problem.
I was looking for a reason, without success.
Luckily I found your post.
Windows 7 / Filezilla <--> PureFTP / Debian 6 + ISPConfig3
|

23rd February 2012, 15:58
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,075
Thanks: 697
Thanked 4,254 Times in 3,265 Posts
|
|
Most likely you use a firewall where the passive ftp ports are closed. Use actibe ftp mode or open the passive ports in the firewall.
|

23rd February 2012, 16:45
|
|
HowtoForge Supporter
|
|
Join Date: Jan 2011
Posts: 66
Thanks: 24
Thanked 2 Times in 2 Posts
|
|
Thank you Till.
Standard FTP works as expected in active and passive mode.
On the server firewall all FTP ports are open (20,21,989,990)
Quote:
Comando: OPTS UTF8 ON
Risposta: 200 OK, UTF-8 enabled
Stato: Connesso
Stato: Lettura elenco cartelle...
Comando: PWD
Risposta: 257 "/" is your current location
Comando: TYPE I
Risposta: 200 TYPE is now 8-bit binary
Comando: PASV
Risposta: 227 Entering Passive Mode (***,***,***,***,19,30)
Comando: MLSD
Risposta: 150 Accepted data connection
Risposta: 226-Options: -a -l
Risposta: 226 30 matches total
Stato: Contenuto cartella letto con successo
|
Quote:
Risposta: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Risposta: 220-You are user number 1 of 50 allowed.
Risposta: 220-Local time is now 16:12. Server port: 21.
Risposta: 220-This is a private system - No anonymous login
Risposta: 220-IPv6 connections are also welcome on this server.
Risposta: 220 You will be disconnected after 15 minutes of inactivity.
Comando: USER hse_ftp2
Risposta: 331 User hse_ftp2 OK. Password required
Comando: PASS ***********
Risposta: 230-User hse_ftp2 has group access to: client1 sshusers
Risposta: 230-OK. Current restricted directory is /
Risposta: 230 0 Kbytes used (0%) - authorized: 10240000 Kb
Comando: OPTS UTF8 ON
Risposta: 200 OK, UTF-8 enabled
Stato: Connesso
|
With FTPES atctive mode:
Quote:
Risposta: 200 TYPE is now 8-bit binary
Comando: PORT 192,168,22,11,195,93
Risposta: 500 I won't open a connection to 192.168.22.11 (only to xxx.xxx.xxx.xxx)
Comando: PASV
Risposta: 227 Entering Passive Mode (***,***,***,***,82,194)
Comando: MLSD
Errore: Tempo scaduto per la connessione
Errore: Non č stato possibile leggere il contenuto della cartella
|
Whit PTFES passive mode:
Quote:
Stato: Connesso
Stato: Lettura elenco cartelle...
Comando: PWD
Risposta: 257 "/" is your current location
Comando: TYPE I
Risposta: 200 TYPE is now 8-bit binary
Comando: PASV
Risposta: 227 Entering Passive Mode (***,***,***,***,82,134)
Comando: MLSD
Errore: Tempo scaduto per la connessione
Errore: Non č stato possibile leggere il contenuto della cartella
|
On MLSD command stops.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 14:10.
|
|
Recent comments
8 hours 44 sec ago
12 hours 53 min ago
21 hours 45 min ago
22 hours 45 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 7 hours ago
1 day 14 hours ago
1 day 23 hours ago
2 days 1 hour ago