Yeah, SFTP would work nice and it is supported by Perl... I wouldn't suggested using FTP and SSL though as I've spent a few weeks trying to figure out how do to that in Perl and so far it doesn't want to work properly...
An idea is not responsible for the people who believe in it...
Re^2: FTP & MD5
Replies are listed 'Best First'.
I wouldn't suggested using FTP and SSL though as I've spent a few weeks trying to figure out how do to that in Perl and so far it doesn't want to work properly...
Some months ago I had the same problem, but I was not able to get Net::SFTP work. So I wrote my own module.
Few days ago I released a module called Net::FTPSSL, which use IO::Socket::SSL and Net::SSLeay::Handle for connections. :D
Its methods are similar to Net::FTP, so you can easily convert a script from Net::FTP to Net::FTPSSL.
If anyone wants give it a try, I'll be very happy! :D
Cheers, Update:I didn't see Eyck post! :D
You didn't see my module either;), you know, the one that uses IO::Socket::SSL and Net::SSLeay::Handle for connections and used to be called Net::FTPSSL, but the name was struck down multiple times by module-authors ML:(
I took a peek at your module, and it seems like it's better thought-out, I'm thinking about dropping mine and moving to supporting yours.
When my boss give me the task to connect to an ftp thru ssl, I immediately search for the right module on CPAN but I didn't find anything I liked. Net::Lite::FTP is a bit different from Net::FTP and my script was too complex for a complete rewrite. I hope you understand. :)
So I start writing my own module, based on Net::FTP.
Every help is appreciated. If you like, you can join the project at Berlios.de.
My email address on CPAN is valid if you want to contact me.
There is some thing to improve :D (Like handle certificates).
Your vendor has not defined SSLeay macro randomize at C:/Perl/site/lib
/SSL.pm line 34
BEGIN failed--compilation aborted at C:/Perl/site/lib/IO/Socket/SSL.pm
+ line 35.
Compilation failed in require at (eval 1) line 3.
...propagated at C:/Perl/lib/base.pm line 85.
BEGIN failed--compilation aborted at C:/Perl/site/lib/Net/FTPSSL.pm li
Compilation failed in require at test2.pl line 1.
BEGIN failed--compilation aborted at test2.pl line 1.
Under WinXP (where I developed the module), I use an ActiveState distribution. I installed IO::Socket::SSL and Net::SSLeay from the http://theoryx5.uwinnipeg.ca/ppms/ repository.
I know for sure that Net::SSLeay needs two libraries for run: ssleay32.dll & libeay32.dll.
On Mac Os X (where I code at home) I don't remember how I did it at the moment! :D