Building a basic FTP server.

Discussion in 'Ruby' started by George Razvan NICA, Oct 12, 2005.

  1. Hello everyone,

    I need to implement a basic FTP server. Requested features are:

    * anonymous ftp access (or simply no login)
    * chroot user to a specific directory
    * client must be able to upload files
    * no "LIST", "RETR", "DELE", "CWD", "PWD", "RMD", "MKD", etc.
    * server must support concurrent uploads from different clients

    Hopefully, someone has already written something like this or can point
    me to the right place to start. A working code snippet would be very useful.

    TIA,
    George Razvan NICA
     
    George Razvan NICA, Oct 12, 2005
    #1
    1. Advertising

  2. On Oct 12, 2005, at 4:54 AM, George Razvan NICA wrote:

    > Hello everyone,
    >
    > I need to implement a basic FTP server. Requested features are:
    >
    > * anonymous ftp access (or simply no login)
    > * chroot user to a specific directory
    > * client must be able to upload files
    > * no "LIST", "RETR", "DELE", "CWD", "PWD", "RMD", "MKD", etc.
    > * server must support concurrent uploads from different clients
    >
    > Hopefully, someone has already written something like this or can
    > point me to the right place to start. A working code snippet would
    > be very useful.


    Are you aware of Net::FTP in the standard library? I don't know how
    far it would get you to the above list, but if nothing else it should
    be the place to steal ideas from. ;)

    James Edward Gray II
     
    James Edward Gray II, Oct 12, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. someone

    FTP over SSL vs FTP over SSH

    someone, Apr 24, 2004, in forum: Java
    Replies:
    1
    Views:
    4,638
    iksrazal
    Apr 25, 2004
  2. Replies:
    3
    Views:
    5,748
  3. D. Buck
    Replies:
    2
    Views:
    569
    D. Buck
    Jun 29, 2004
  4. Replies:
    3
    Views:
    222
    John Mason Jr
    Dec 18, 2004
  5. Asaf Sinai
    Replies:
    1
    Views:
    294
    Chris Davies
    Jul 4, 2006
Loading...

Share This Page