Results 1 to 11 of 11

Thread: Running a ftp server on a network

  1. #1

    Thread Starter
    Addicted Member Tommy101's Avatar
    Join Date
    Jun 2004
    Location
    Switzerland
    Posts
    144

    Running a ftp server on a network

    Hi!!!

    I want to turn my labtop in a ftp server, but i on a Wireless network -> Ip 192.168.x.x, how can i configure my computer and my Wireless Hup [Zyxel] so that my friends can download files from me?

    Anyone got any ideas?


    Msn Messenger is the Best

  2. #2
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Running a ftp server on a network

    Be very careful!

    We put an FTP service on our server - exposed to the internet - and before you know it we are be used for illegal transfer of DVD movies from the US to Germany!

    Silly we didn't put a username and password on it...

    But the username and password for an FTP site is transmitted clear text of the internet - so it's far from secure...

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  3. #3

    Thread Starter
    Addicted Member Tommy101's Avatar
    Join Date
    Jun 2004
    Location
    Switzerland
    Posts
    144

    Re: Running a ftp server on a network

    goes to show that security pays off


    Msn Messenger is the Best

  4. #4
    Addicted Member WilliamRobinson's Avatar
    Join Date
    Feb 2005
    Posts
    219

    Re: Running a ftp server on a network

    well you could try some software....BulletProof FTP is worked for me and is by far the most secure let you manage is well like ip access or username/password
    Nothing is Impossible you say?......Try slamming a revolving door!

  5. #5

    Thread Starter
    Addicted Member Tommy101's Avatar
    Join Date
    Jun 2004
    Location
    Switzerland
    Posts
    144

    Re: Running a ftp server on a network

    well behind a network is a little different.. when you have an IP like 192.168.1.33 that IP could also be registered to someone else...

    I have read that i should use "PASV" but when ever i try to connect i always get an error from my ftp client sayin "pasv" command not understood...... blah blah blah, then it closes the connection. I have also tried routing specific ports to my computer.)


    Msn Messenger is the Best

  6. #6
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: Running a ftp server on a network

    You will have to forward ports 20, 21 to that IP address on your external firewall.
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

  7. #7

    Thread Starter
    Addicted Member Tommy101's Avatar
    Join Date
    Jun 2004
    Location
    Switzerland
    Posts
    144

    Re: Running a ftp server on a network

    This is what i get when i try to connect to my ftp server:
    Code:
    		*** CuteFTP 7.0 - build Mar 10 2005 ***
     
     STATUS:>	  Getting listing ""...
     STATUS:>	  Connecting to FTP server 80.218.76.85:21 (ip = 80.218.76.85)...
     STATUS:>	  Socket connected. Waiting for welcome message...
     		220  FTP version 1.0 ready at Mon Jan  3 04:52:54 2000
     STATUS:>	  Connected. Authenticating...
     COMMAND:>	USER tommy
     		331 Enter PASS command
     COMMAND:>	PASS *****
     		230 Logged in
     STATUS:>	  Login successful.
     COMMAND:>	PWD
     		257 "/" is current directory
     STATUS:>	  Home directory: /
     COMMAND:>	FEAT
     		500 Unknown command 'feat'
     STATUS:>	  This site doesn't support the 'features' command.
     COMMAND:>	REST 100
     		500 Unknown command 'rest 100'
     STATUS:>	  This site cannot resume broken downloads.
     COMMAND:>	PASV
     		500 Unknown command 'pasv'
     ERROR:>	   Syntax error, command unrecognized.
     ERROR:>	   Failed to establish data socket.
    I routed ports 20-21 and 2000-21000 (for PASV transfer).

    When i connect to 127.0.0.1 i get this
    Code:
    		*** CuteFTP 7.0 - build Mar 10 2005 ***
     
     STATUS:>	  Getting listing ""...
     STATUS:>	  Connecting to FTP server 127.0.0.1:21 (ip = 127.0.0.1)...
     STATUS:>	  Socket connected. Waiting for welcome message...
     		220 Serv-U FTP Server v6.0 for WinSock ready...
     STATUS:>	  Connected. Authenticating...
     COMMAND:>	USER tommy
     		331 User name okay, need password.
     COMMAND:>	PASS *****
     		230 User logged in, proceed.
     STATUS:>	  Login successful.
     COMMAND:>	PWD
     		257 "/" is current directory.
     STATUS:>	  Home directory: /
     COMMAND:>	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
     		 MODE Z
     		211 End
     STATUS:>	  This site supports features.
     STATUS:>	  This site supports XCRC.
     STATUS:>	  This site supports SIZE.
     STATUS:>	  This site can resume broken downloads.
     COMMAND:>	MODE Z
     		200 MODE Z ok.
     COMMAND:>	REST 0
     		350 Restarting at 0. Send STORE or RETRIEVE.
     COMMAND:>	PASV
     		227 Entering Passive Mode (80,218,76,85,7,208)
     COMMAND:>	LIST
     STATUS:>	  Substituting received PASV address 80.218.76.85 to server address 127.0.0.1.
     STATUS:>	  Connecting FTP data socket 127.0.0.1:2000...
     		150 Opening ASCII mode data connection for /bin/ls.
     		226 Transfer complete.
     STATUS:>	  Directory listing completed.
    everything works fine


    Msn Messenger is the Best

  8. #8
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: Running a ftp server on a network

    I dont understand. Does it work or not? If not, do not use PASV mode and see if that works. PASV mode introduces more problems to deal with.
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

  9. #9

    Thread Starter
    Addicted Member Tommy101's Avatar
    Join Date
    Jun 2004
    Location
    Switzerland
    Posts
    144

    Re: Running a ftp server on a network

    No it is not working, it works only if i connect with IP 127.0.0.1. I have tried it with PORT and PASV but nothing worked


    Msn Messenger is the Best

  10. #10
    KING BODWAD XXI BodwadUK's Avatar
    Join Date
    Aug 2002
    Location
    Nottingham
    Posts
    2,176

    Re: Running a ftp server on a network

    You may also need to open a firewall on either the router or server machine
    If you dribble then you are as mad as me

    Lost World Creations Website (XBOX Indie games)
    Lene Marlin

  11. #11

    Thread Starter
    Addicted Member Tommy101's Avatar
    Join Date
    Jun 2004
    Location
    Switzerland
    Posts
    144

    Re: Running a ftp server on a network

    i don't have a firewall on my router..

    i will try opening port 21 & 2000 -> 2200 (pasv) on my computers firewall.


    Msn Messenger is the Best

Posting Permissions

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



Click Here to Expand Forum to Full Width