On Wed, May 6, 2009 at 12:57 PM, Gabor Szabo <szab...@gmail.com> wrote: > Is there and FTP server module that could be used for light-weight > testing of an application that among other things also fetches a file from > and ftp server ? > > I should be able to set it up simply without root access and run it > on a high port allowing access based on some username/password > not related to the real system underneath. > > On my quick search I could not find any. > > Gabor >
I have exactly the same scenario. I use Net::FTPServer. At the beginning of the test I create configuration file, password file that this server use and the root directory with all the files my application will download. I even didn't have to write my own server since this module already has one - ftpd.pl. Root access is not required. Thomas