Building a basic FTP server.

G

George Razvan NICA

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
 
J

James Edward Gray II

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top