PDA

View Full Version : [PROBLEM]: Directory listing and transfers not working


georgeg
09-18-2008, 03:10 PM
Hello,

I'm having connection and transfer problems with a particular FTP site. FlashFXP 3.4.0.1145 on Windows XP Professional.

[R] Connecting to SITE via Proxy -> IP=PROXYHOST PORT=8080
[R] Connected to SITE via Proxy
[R] 220 FTP Server ready.
[R] USER username
[R] 331 Password required for username.
[R] PASS (hidden)
[R] 230 User username logged in.
[R] SYST
[R] 215 UNIX Type: L8
[R] FEAT
[R] 211-Features:
[R] MDTM
[R] REST STREAM
[R] SIZE
[R] 211 End
[R] PWD
[R] 257 "/" is current directory.
[R] TYPE A
[R] 200 Type set to A
[R] PASV
[R] 227 Entering Passive Mode (XXX,XXX,XXX,XXX,XXX,XX).
[R] Opening data connection via Proxy

At this point everything halts, and the program sits and waits. After a couple of minutes, this appears:

[R] LIST -al

A few minutes after that, this line comes up:

[R] Connection lost: SITE

The program then proceeds to reconnect, and the cycle repeats. I'm behind a tunneled HTTP proxy (ISA). If I enable "STAT -L" in the site options, directory listings work, but I cannot download or upload any files. All such transfers halt (after a few minutes) with this:

[R] Opening data connection via Proxy
[R] Transfer Failed!
[R] Connection lost: SITE

This is the first site I've encountered that doesn't seem to work using my previous settings. The program has been working just fine with lots of other sites. I'd like to know if there is a particular combination of non-standard settings that I need to use for this site. Trying different combinations of various options hasn't helped so far.

Thanks for any help and insight!

--
dima

bigstar
09-18-2008, 05:58 PM
I suspect the HTTP proxy doesn't allow connections to just any port, in order to establish the data connection a random port is determined by the ftp host. It probably only allows connections to specific ports 21, 80, 443, etc. The HTTP proxy may need to be reconfigured or you'll need to find another way to do FTP.

georgeg
09-19-2008, 10:05 AM
Thanks for the reply, bigstar.

After a bit of messing around, I tried connecting to the same FTP site using the built-in Windows "ftp.exe", and it worked perfectly fine. Based on this, I went back to FlashFXP, disabled going through the the HTTP proxy, disabled Passive Mode for the site, and voila, it worked.

Cheers,

--
dima