PDA

View Full Version : FTP uploading problems


mlatuk
12-03-2004, 05:08 PM
I have a problem uploading to some ftp sites, although i'm not sure how to describe the problem , but here goes nothing...

Connecting to: NT Server
OS: XP SP2
Windows Firewall: Disabled
Other Firewall: Sygate Firewall Pro - no blocking of ftp reported in my logs
Other notes:
1) FTP server will not accept passive mode
2) Not using the directory - l setting will not allow me to list the server directory and just hangs
3) Once connected, i can delete files from the server, but trying to copy gives me the following error:
4) I can connect to other ftp servers, both unix and windows on different hosts, although i do have trouble sometime where the one day i can connect to a specific unix server, but the following day, i can't connect using the exact same settings.
5) I can connect to the below servers using

Connection log using alternate mode:

[R] Connecting to Lighthouse -> DNS=ftp.xxx.com
IP=xx.xx.x.xx PORT=21
[R] Connected to Lighthouse
[R] 220 tfwalker Microsoft FTP Service (Version 5.0).
[R] USER hs100815
[R] 331 Password required for hs100815.
[R] PASS (hidden)
[R] 230 User hs100815 logged in.
[R] SYST
[R] 215 Windows_NT version 5.0
[R] FEAT
[R] 500 'FEAT': command not understood
[R] PWD
[R] 257 "/hs100815" is current directory.
[R] TYPE A
[R] 200 Type set to A.
[R] STAT -la
[R] List Complete: 87 bytes in 1.05 seconds (0.1 KB/s)
[R] CWD wwwroot
[R] 250 CWD command successful.
[R] PWD
[R] 257 "/hs100815/wwwroot" is current directory.
[R] STAT -la
[R] List Complete: 626 bytes in 1.53 seconds (0.4 KB/s)
[R] PORT 81,155,223,197,8,58
[R] 200 PORT command successful.
[R] STOR robots.txt
[R] 150 Opening ASCII mode data connection for robots.txt.
[R] 425 Can't open data connection.
[R] Transfer Failed!
[R] PORT 81,155,223,197,8,65
[R] 200 PORT command successful.
[R] STOR robots.txt
[R] 150 Opening ASCII mode data connection for robots.txt.
[R] 425 Can't open data connection.
[R] Transfer Failed!
[R] PORT 81,155,223,197,8,71
[R] 200 PORT command successful.
[R] STOR robots.txt
[R] 150 Opening ASCII mode data connection for robots.txt.
[R] 425 Can't open data connection.
[R] Transfer Failed!
[R] PORT 81,155,223,197,8,73
[R] 200 PORT command successful.
[R] STOR robots.txt
[R] 150 Opening ASCII mode data connection for robots.txt.
[R] 425 Can't open data connection.
[R] Transfer Failed!
[R] STAT -la
[R] List Complete: 626 bytes in 0.52 seconds (1.2 KB/s)
Transfer queue completed
1 File failed to transfer

Connection log using standard mode:
[R] Connecting to Lighthouse -> DNS=ftp.lighthouse.uk.com IP=64.85.5.19 PORT=21
[R] Connected to Lighthouse
[R] 220 tfwalker Microsoft FTP Service (Version 5.0).
[R] USER hs100815
[R] 331 Password required for hs100815.
[R] PASS (hidden)
[R] 230 User hs100815 logged in.
[R] SYST
[R] 215 Windows_NT version 5.0
[R] FEAT
[R] 500 'FEAT': command not understood
[R] PWD
[R] 257 "/hs100815" is current directory.
[R] List (cached)
[R] List Complete: 87 bytes in 0.30 seconds (0.3 KB/s)
[R] CWD wwwroot
[R] 250 CWD command successful.
[R] PWD
[R] 257 "/hs100815/wwwroot" is current directory.
[R] TYPE A
[R] 200 Type set to A.
[R] STAT -la
[R] List Complete: 626 bytes in 1.05 seconds (0.6 KB/s)
[R] PORT 81,155,223,197,8,234
[R] 200 PORT command successful.
[R] STOR robots.txt
[R] 150 Opening ASCII mode data connection for robots.txt.
[R] 425 Can't open data connection.
[R] Transfer Failed!
[R] PORT 81,155,223,197,8,236
[R] 200 PORT command successful.
[R] STOR robots.txt
[R] 150 Opening ASCII mode data connection for robots.txt.
[R] 425 Can't open data connection.
[R] Transfer Failed!
[R] PORT 81,155,223,197,8,238
[R] 200 PORT command successful.
[R] STOR robots.txt
[R] 150 Opening ASCII mode data connection for robots.txt.
[R] 425 Can't open data connection.
[R] Transfer Failed!
[R] PORT 81,155,223,197,8,241
[R] 200 PORT command successful.
[R] STOR robots.txt
[R] 150 Opening ASCII mode data connection for robots.txt.
[R] 425 Can't open data connection.
[R] Transfer Failed!
[R] STAT -la
[R] List Complete: 626 bytes in 0.84 seconds (0.7 KB/s)
Transfer queue completed
1 File failed to transfer

This should hopefully be the info someone would need to help point me in the right direction

MxxCon
12-03-2004, 07:23 PM
"alternative mode" is related ONLY to FXP transfers.
it has nothing to do with local transfers.

you need to either enable PASV mode, or config flashfxp to limit local port range and then open those same ports in your firewall.

mlatuk
12-04-2004, 04:55 AM
As mentioned in the post, the server will not accept passive mode, so that is not an option, so the port one seems the way to go

. I may sound a bit thick, but how would i limit local ports in flash fxp and what settings are best to use.

MxxCon
12-05-2004, 12:59 AM
options, connections tab.
best setting should be port range above port 1024 and one that will not interfer with other applications you might be using. just be on a safe side, consider forwarding 1000 ports range.

mlatuk
12-05-2004, 05:15 AM
Right, this seems to be working....what is it that this is doing and why?!? I'm a bit inquisitive to find out what all this malarky about port forwading does and why i have to do it....ps nice fast answer to my problem

[R] Connecting to Lighthouse -> DNS=ftp.xxxxxxx.com
IP=xx.xx.xx.xx PORT=21
[R] Connected to Lighthouse
[R] 220 tfwalker Microsoft FTP Service (Version 5.0).
[R] USER hs100815
[R] 331 Password required for hs100815.
[R] PASS (hidden)
[R] 230 User hs100815 logged in.
[R] SYST
[R] 215 Windows_NT version 5.0
[R] FEAT
[R] 500 'FEAT': command not understood
[R] PWD
[R] 257 "/hs100815" is current directory.
[R] List (cached)
[R] List Complete: 87 bytes in 0.22 seconds (0.4 KB/s)
[R] CWD wwwroot
[R] 250 CWD command successful.
[R] PWD
[R] 257 "/hs100815/wwwroot" is current directory.
[R] TYPE A
[R] 200 Type set to A.
[R] STAT -la
[R] List Complete: 626 bytes in 0.91 seconds (0.7 KB/s)
[R] DELE robots.txt
[R] 250 DELE command successful.
[R] STAT -la
[R] List Complete: 577 bytes in 0.45 seconds (1.2 KB/s)
Deleted 0 Folders and 1 File totaling 662 bytes in 0.66 seconds.
[R] PORT 81,154,247,227,4,3
[R] 200 PORT command successful.
[R] STOR TV Shows.txt
[R] 150 Opening ASCII mode data connection for TV Shows.txt.
[R] 226 Transfer complete.
Transferred: TV Shows.txt 404 bytes in 0.20 seconds (1.9 KB/s)
[R] STAT -la
[R] List Complete: 628 bytes in 0.49 seconds (1.3 KB/s)
Transfer queue completed
Transferred 1 file totaling 404 bytes in 1.49 seconds (1.9 KB/s)
[R] DELE TV Shows.txt
[R] 250 DELE command successful.
[R] STAT -la
[R] List Complete: 577 bytes in 0.55 seconds (1.0 KB/s)
Deleted 0 Folders and 1 File totaling 404 bytes in 0.72 seconds.

MxxCon
12-05-2004, 06:08 PM
http://slacksite.com/other/ftp.html