Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: FTP & MD5

by kral (Monk)
on Jun 22, 2005 at 07:49 UTC ( [id://468929]=note: print w/replies, xml ) Need Help??


in reply to Re^2: FTP & MD5
in thread FTP & MD5

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
----------
kral
(I apologise for my english!)

Replies are listed 'Best First'.
Re^4: FTP & MD5
by Eyck (Priest) on Jun 22, 2005 at 09:50 UTC

    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).
      ----------
      kral
      (I apologise for my english!)
Re^4: FTP & MD5
by bofh_of_oz (Hermit) on Jun 22, 2005 at 13:25 UTC
    I tried it, here's output:

    Your vendor has not defined SSLeay macro randomize at C:/Perl/site/lib +/IO/Socket /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 +ne 11. Compilation failed in require at test2.pl line 1. BEGIN failed--compilation aborted at test2.pl line 1.

    Any particular SSLeay/OpenSSL version I should use with it?

    --------------------------------
    An idea is not responsible for the people who believe in it...

      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

      HTH,
      ----------
      kral
      (I apologise for my english!)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://468929]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-23 17:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found