Forum Moderators: mack

Message Too Old, No Replies

FTP problem

Tried PASV and POST

         

zulufox

12:44 am on Dec 17, 2003 (gmt 0)

10+ Year Member



I am trying to use cuteftp but I have a problem. Below is the log of my first attempt:

STATUS:> Getting listing ""...
STATUS:> Resolving host name ftp.serveyourworld.com...
STATUS:> Host name ftp.syw.com resolved: ip = 63.99.224.60.
STATUS:> Connecting to ftp server ftp.syw.com:21 (ip = 63.99.224.60)...
STATUS:> Socket connected. Waiting for welcome message...
220 Serv-U FTP Server v4.1 for WinSock ready...
STATUS:> Connected. Authenticating...
COMMAND:>USER syw
331 User name okay, need password.
COMMAND:>PASS *****
230 User logged in, proceed.
STATUS:> Login successful.
COMMAND:>PWD
257 "/" is current directory.
STATUS:> Home directory: /
COMMAND:>FEAT
211-Extension supported
MDTM
MDTM YYYYMMDDHHMMSS[+-TZ] filename
SIZE
SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
REST STREAM
211 End
STATUS:> This site supports features.
STATUS:> This site supports SIZE.
STATUS:> This site can resume broken downloads.
COMMAND:>TYPE A
200 Type set to A.
COMMAND:>REST 0
350 Restarting at 0. Send STORE or RETRIEVE.
COMMAND:>PORT 192,168,1,20,4,27
ERROR:> Timeout.
ERROR:> Failed to establish data socket.

After this I thought it might be because I was in POST mode instead of PASV.

Here is my attempt at PASV mode:

*** CuteFTP Pro 2.0 - build Dec 4 2001 ***

STATUS:> Getting listing ""...
STATUS:> Resolving host name ftp.serveyourworld.com...
STATUS:> Host name ftp.syw.com resolved: ip = 63.99.224.60.
STATUS:> Connecting to ftp server ftp.syw.com:21 (ip = 63.99.224.60)...
STATUS:> Socket connected. Waiting for welcome message...
220 Serv-U FTP Server v4.1 for WinSock ready...
STATUS:> Connected. Authenticating...
COMMAND:>USER syw
331 User name okay, need password.
COMMAND:>PASS *****
230 User logged in, proceed.
STATUS:> Login successful.
COMMAND:>PWD
257 "/" is current directory.
STATUS:> Home directory: /
COMMAND:>FEAT
211-Extension supported
MDTM
MDTM YYYYMMDDHHMMSS[+-TZ] filename
SIZE
SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
REST STREAM
211 End
STATUS:> This site supports features.
STATUS:> This site supports SIZE.
STATUS:> This site can resume broken downloads.
COMMAND:>TYPE A
200 Type set to A.
COMMAND:>REST 0
350 Restarting at 0. Send STORE or RETRIEVE.
COMMAND:>PASV
ERROR:> Timeout.
ERROR:> Failed to establish data socket.

I cant think of anything else to try to get it to work. I tried to connect to another webspace I own and the same thing happened... any suggestions?

simonuk

12:59 am on Dec 17, 2003 (gmt 0)

10+ Year Member



I can't tell from that what the problem is but I do know the 4 most common problems are:

1. Turning passive mode on or off helps in most cases.

2. Raising the timeout limit to double what you currently have set helps

3. Switching between auto/binary/ASCII can sometimes help

4. The server is down

1 or 2 normally fixes most problems and if it's only just starting to have problems then it could be 4

Simon.