PDA

View Full Version : Can Not See Files on the FTP


tal3152
03-04-2004, 12:24 PM
Well I think this is a very unique problem and I hope to get some help. I am using FlashFXP v2.2 build 973 [BETA RELEASE] on Windows XP PRO.

Here is the problem: I can connect to the FTP via port 21 without a single problem, uploading and downloading, but there is an address on port 20 (same IP) that I can connect but CAN NOT sees the files. I did play with the settings and added port 20 to my firewall but no luck. I would appreciate any ideas on both sides (FTP & my computer).
:confused:

bigstar
03-04-2004, 01:33 PM
please include a copy of your ftp session status window.

tal3152
03-04-2004, 03:01 PM
Here is a zip file with printed screens

MxxCon
03-04-2004, 04:53 PM
you are having this problem becuase you are using STAT command instead of LIST.
seems like either that server doesn't like STAT command or FlashFXP can't parse results provided by the server...
disable STAT command and see if that fixes your problem.

however that ftpd is Serv-U FTP Server v5.0 so it should be supported...

tal3152
03-04-2004, 10:35 PM
OK I took off the option Use 'stat -l' to use list directory
But now I am getting List Error.
There is no change on the address with port 21.

Enclosed you will find the new printed screen.

MxxCon
03-05-2004, 12:54 AM
it seems like your router is performing NAT in the ftp session.
both of your screenshots show that your flashfxp is sending PORT command with the wrong ip..your internal one instead of internet one.
when connection is on port 21, your router changes your internal ip to internet ip.
when connection is on port other than 21, your router doesn't do that.
enable PASV mode on your port 20 site.

tal3152
03-05-2004, 01:30 AM
First I would like to thank you for your quick responds.
I did activate the Passive Mode and now I am getting the following errors:
[R] Data Socket Error: Connection failed
[R] List Error

MxxCon
03-05-2004, 01:48 AM
well it seems like ftp server is misconfigured too..:(

since you are using beta 973, here is what you'll have to..

first thing is please enter your FlashFXP ID into your messageboard profile.
2nd is upgrade to build 975.
then you will need to go into configuration/administration for your linksys router and forward some port range to your computer. any ports between 1024 and 65535 is good..30-50 ports is a safe number.
then go to FlashFXP properties, Connection tab, check all 3 boxes in "Data Connectino" section, enter same port range you forwarded in your router and pick iplookup entry on the 2nd option.

once this is done, go back to site manager and disable PASV option you enabled earlier.

there is no need to post screen of your flashfxp. copy/paste of status log is equaly sufficient.

tal3152
03-05-2004, 02:18 AM
I don't have linksys router, my connection to the DSL is via a 3 COM Gateway (build in firewall). No Wireless.
I did the changes but I am still getting
[R] List Error

I'll ask the FTP server guy to check his ports configuration.

MxxCon
03-05-2004, 06:01 AM
sorry, for some reason i thought you mentioned you have linksys router :)

[R] List Error is not enough to see what's going on..we need to see PORT/PASV command and what happenes after that..

tal3152
03-05-2004, 09:51 AM
Sorry, for not posting the rest of the logs, as I said I made the changes you recommended but it did not work. I sent e-mail to the server guy but have not got responds.
BTW I am using the Active Ports application that show clearly that the connection with the server has been established.
Here are the logs after the changes.

[R] CLNT FlashFXP 2.2.973
[R] 200 Noted.
[R] CWD /
[R] 250 Directory changed to /
[R] PWD
[R] 257 "/" is current directory.
[R] TYPE A
[R] 200 Type set to A.
[R] PORT 192,168,1,1,4,3
[R] 200 PORT Command successful.
[R] LIST -al
[R] 150 Opening ASCII mode data connection for /bin/ls.
[R] 426 Data connection closed, transfer aborted.
[R] List Error
[R] NOOP
[R] 200 Command okay.

Update: I was able to connect to the FTP PORT 20 via SmartFTP

bigstar
03-05-2004, 12:42 PM
Options > Preferences > Connection Tab > Force Active Mode to use this IP

Check that and select "http://iplookup.flashfxp.com"

slo_mike
03-07-2004, 02:43 PM
it could also be that the FTP server isn't properly setup for passive mode or is behind a router.

I've setup Serv-U so many times I can practically do it in my sleep. Tell the ftp owner to try the following settings in Serv-U:

Go under Settings then click on the Advanced tab and under there he'll see a passive port range. If there is anything in there, tell him to clear it out. That way Serv-u will use any available ports for passive mode.

Then have him go under Domains then click on the Settings there, click on the Advanced tab. Enable 'Allow passive mode data transfers, use IP'

Where you would normally enter the internet IP of the server, instead leave that blank as well, if you enter an IP in there it can screw up the passive mode listings especially if the server has a dynamic ip.

Most tutorials don't tell you this, but i've never had a problem doing it this way and works quite well too if you're configuring a server behind a router as well.

sj

tal3152
03-09-2004, 08:16 PM
OK guys I have done so far everything you asked me, I also downloaded the new BETA version (2.2 976) but I am still getting the same error (List Error).

I don’t really wish to step on anyone toes but since I downloaded SmartFTP I have no problems.

MxxCon
03-10-2004, 04:54 AM
tal3152, can you paste status log as it appears after you made those changes..
and also can you paste status log from smartftp to see what it's doing differently..

tal3152
03-10-2004, 07:41 PM
Soory for the delay, here it's:
All the Logs are from the same FTP server same IP

FlashFXP 2.2 976 BETA PORT=20

[R] Connecting to > IP=XXXXXXXXXXXXX=20
[R] Connected to
[R] 220-Serv-U FTP Server v5.0 for WinSock ready...
[R] 220-welcome to pl ftp
[R] 220
[R] USER
[R] 331 User name okay, need password.
[R] PASS (hidden)
[R] 230-welcome to
[R] 230-
[R] 230 User logged in, proceed.
[R] SYST
[R] 215 UNIX Type: L8
[R] FEAT
[R] 211-Extension supported
[R] CLNT
[R] MDTM
[R] MDTM YYYYMMDDHHMMSS[+-TZ];filename
[R] SIZE
[R] SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
[R] REST STREAM
[R] XCRC filename;start;end
[R] 211 End
[R] CLNT FlashFXP 2.2.976
[R] 200 Noted.
[R] PWD
[R] 257 "/" is current directory.
[R] TYPE A
[R] 200 Type set to A.
[R] PORT 198,168,1,1,4,2
[R] 200 PORT Command successful.
[R] LIST -al
[R] 150 Opening ASCII mode data connection for /bin/ls.
[R] 426 Data connection closed, transfer aborted.
[R] List Error
[R] NOOP
[R] 200 Command okay.
[R] QUIT
[R] 221 Goodbye!
[R] Logged off:

FlashFXP 2.2 976 BETA PORT=21

[R] Connecting to > IP=XXXXXXXXXXXXX PORT=21
[R] Connected to
[R] 220 Serv-U FTP Server v5.0 for WinSock ready...
[R] USER
[R] 331 User name okay, need password.
[R] PASS (hidden)
[R] 230-welcome to FTP1 [ members section ]
[R] 230-
[R] 230-
[R] 230 User logged in, proceed.
[R] SYST
[R] 215 UNIX Type: L8
[R] FEAT
[R] 211-Extension supported
[R] CLNT
[R] MDTM
[R] MDTM YYYYMMDDHHMMSS[+-TZ];filename
[R] SIZE
[R] SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
[R] REST STREAM
[R] XCRC filename;start;end
[R] 211 End
[R] CLNT FlashFXP 2.2.976
[R] 200 Noted.
[R] CWD /
[R] 250 Directory changed to /
[R] PWD
[R] 257 "/" is current directory.
[R] TYPE A
[R] 200 Type set to A.
[R] PORT 192,168,1,73,4,3
[R] 200 PORT Command successful.
[R] LIST -al
[R] 150 Opening ASCII mode data connection for /bin/ls.
[R] 226-Maximum disk quota limited to 45000000 kBytes
[R] Used disk quota 22375253 kBytes, available 22624746 kBytes
[R] 226 Transfer complete.
[R] List Complete: 881 bytes in 0.78 (0.86 KBps)
[R] QUIT
[R] 221 Goodbye!
[R] Logged off:


SmartFTP 1.0 Build 981 PORT=20

Resolving host name
Connecting to -> IP: XXXXXXXXXXXXXX PORT: 20
Connected to Time = 141ms
Socket connected waiting for login sequence.
220-Serv-U FTP Server v5.0 for WinSock ready...
220-welcome to
220
USER 331 User name okay, need password.
PASS (hidden)
230-welcome to
230-
230 User logged in, proceed.
SYST
215 UNIX Type: L8
FEAT
211-Extension supported
CLNT
MDTM
MDTM YYYYMMDDHHMMSS[+-TZ];filename
SIZE
SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
REST STREAM
XCRC filename;start;end
211 End
Detected Server Software: Serv-U 4.x
CLNT SmartFTP 1.0.981
200 Noted.
PWD
257 "/" is current directory.
TYPE A
200 Type set to A.
Connecting IP Repeater "repeater.smartftp.com" ...
IP Repeater returned: "66.32.179.102"
PORT 66,32,179,102,4,0
200 PORT Command successful.
Opening data connection IP: 66.32.179.102 PORT: 1024.
LIST -aLT
150 Opening ASCII mode data connection for /bin/ls.
519 bytes received successfully. (519 B/s) (00:00:01).
226 Transfer complete.
NOOP
200 Command okay.
NOOP
200 Command okay.
QUIT
221 Goodbye!
Connection closed.
]

bigstar
03-10-2004, 08:04 PM
Did you do this?

Options > Preferences > Connection Tab > Force Active Mode to use this IP

Check that and select "http://iplookup.flashfxp.com"

Based on your ftp session it doesn't look like you did.

tal3152
03-10-2004, 08:37 PM
Well, I did put the IP 66.32.179.102 on the Force Active Mode and guess what it's working great............GOOD JOB

Would you please explain why do I need to put this IP?
The IP that I did put was my gateway IP.

Also why I don't have to put it on PORT 21?

bigstar
03-10-2004, 09:16 PM
Most NAT based modems/routers only monitor port 21 for the ftp protocol. NAT is short for Network Address Translation automatically corrects protocol problems created by using a modem/router.

If you have a dynamic IP address you'll need to use "http://iplookup.flashfxp.com" and not your IP address.