Results 1 to 7 of 7

Thread: FTP Upload?

  1. #1
    Join Date
    Aug 2001
    Location
    Denver, CO
    Posts
    273

    FTP Upload?

    I've got a dual wan connection and I've got the router set to forward port 21 to my best internet upload connection.. but it isn't working and.. I notice that my ftp program invents ports numbers ranging all over.. currenty using filezilla for ftp..

    Any easy suggestions on a fix? What are the ftp port numbers all over? As they seem to all go out on my slow internet connection because I don't know the numbers to set in the router..

  2. #2
    Join Date
    Feb 2006
    Posts
    1,107
    is passive mode on?
    semi-retired

  3. #3
    The passive port ranges are usually set in the range 30000 to 50000.

  4. #4
    Join Date
    Aug 2001
    Location
    Denver, CO
    Posts
    273
    Played with active and passive on filezilla still confused about how to set it up.. via my router..

  5. #5
    Join Date
    Oct 2007
    Location
    Mississauga, ON
    Posts
    377
    With most FTP clients (FileZilla included), you can configure which ports they use for PASV transfers. Also, for the FTP server, you'll need to configure what ports it can use for PASV, then forward that range to your FTP server's IP in your router (of course, along with port 21).

    Can you provide us with a detailed outline of your setup/configuration as well as FTP server and client logs of a transaction?

  6. #6
    Join Date
    Aug 2001
    Location
    Denver, CO
    Posts
    273
    see 2nd reply..
    Last edited by Ophelus; 01-21-2008 at 03:12 PM.

  7. #7
    Join Date
    Aug 2001
    Location
    Denver, CO
    Posts
    273
    The router I'm using is a computer.. pfsense.. I'm a little confused though cause they tell me.. you can't send the ftp out wan2 which doesn't make sense.. since it routes other ports like smtp

    http://devwiki.pfsense.org/FTPTroubleShooting

    I don't have configuration ability on the host end that I know off.. this isn't a dedicated/vps server.. it's just basic hosting..

    Status: Resolving IP-Address for na.com
    Status: Connecting to x.x.x.x:21...
    Status: Connection established, waiting for welcome message...
    Response: 220 ProFTPD 1.3.1rc2 Server (DreamHost is host FTP) [x.x.x.x]
    Command: USER na
    Response: 331 Password required for na
    Command: PASS *******
    Response: 230 User na logged in
    Command: SYST
    Response: 215 UNIX Type: L8
    Command: FEAT
    Response: 211-Features:
    Response: MDTM
    Response: REST STREAM
    Response: SIZE
    Response: 211 End
    Status: Connected
    Status: Retrieving directory listing...
    Command: PWD
    Response: 257 "/" is the current directory
    Command: TYPE I
    Response: 200 Type set to I
    Command: PASV
    Response: 227 Entering Passive Mode (x.x.x.x,194,72)
    Command: LIST
    Response: 150 Opening ASCII mode data connection for file list
    Response: 226 Transfer complete
    Status: Directory listing successful
    Status: Resolving IP-Address for na.com
    Status: Resolving IP-Address for na.com
    Status: Connecting to x.x.x.x:21...
    Status: Connecting to x.x.x.x:21...
    Status: Connection established, waiting for welcome message...
    Status: Connection established, waiting for welcome message...
    Response: 220 ProFTPD 1.3.1rc2 Server (DreamHost FTP) [x.x.x.x]
    Command: USER na
    Response: 220 ProFTPD 1.3.1rc2 Server (DreamHost FTP) [x.x.x.x]
    Command: USER na
    Response: 331 Password required for na
    Command: PASS *******
    Response: 331 Password required for na
    Command: PASS *******
    Response: 230 User na logged in
    Status: Connected
    Status: Starting upload of Desktop\Inside Yagi Tests\09-21-2007 belkin comcast.bmp
    Command: CWD Desktop/Inside Yagi Tests/
    Response: 230 User na logged in
    Status: Connected
    Status: Starting upload of Desktop\Inside Yagi Tests\09-21-2007 Luther 2 ping rises when download stops.bmp
    Command: CWD Desktop/Inside Yagi Tests/
    Response: 250 CWD command successful
    Command: PWD
    Response: 250 CWD command successful
    Command: PWD
    Response: 257 "Desktop/Inside Yagi Tests" is the current directory
    Status: Retrieving directory listing...
    Command: TYPE I
    Response: 257 "Desktop/Inside Yagi Tests" is the current directory
    Status: Retrieving directory listing...
    Response: 200 Type set to I
    Command: PASV
    Response: 227 Entering Passive Mode (x.x.x.x,251,4)
    Command: LIST
    Response: 150 Opening ASCII mode data connection for file list
    Response: 226 Transfer complete
    Status: Calculating timezone offset of server...
    Command: stops.bmp
    Response: 213 20080120233150
    I've slightly edited this.. I can see where I pulled the ip out there are 2 numbers left.. they appear for example in the last one as port 251 and 4?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •