|
-
July 28th, 2003, 01:39 PM
#1
FTP port and passive modes
Sorry for all the FTP questions. I just wanted a little clarification and confirmation on if I am understanding the difference between PASV and PORT modes of FTP servers.
Is PORT mode the same as "active" mode?
When the client is running in active/PORT mode, it tells the server to which port to send data, correct?
In PORT mode, does the client also tell the server the IP to which to send data? and if this is the case, if my client is connecting from behind a router and has a private ip (192.168.x.x), will port mode not work, as it will tell the server to send data to an unreachable IP?
I'm troubleshooting a connection in which this is happening, and i just want to confirm whether this makes sense as an explanation. My client is sending this data to the server for the port command:
PORT 192,168,1,105,4,97
And then I can't get anything from the LIST command. I assume because the server is trying to send data to 192.168.1.105 (my private IP), but it obviously can't get here.
Is my assessment correct?
-
August 7th, 2003, 11:30 PM
#2
Registered User
Yep pretty much. Why not just use passive?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks