Won't LWP handle TLS/SSL if you set it up, you might check
the footnote for LWP.
It would appear you can modify the dataconn class of Net::FTP , which
inherits from IO::Socket::INET , with some care you can perhaps fudge it to
use IO::Socket::SSL
PS. IANAG !
I can't believe it's not psellchecked
| [reply] |
If your goal is just to have a secure FTP connection then may I suggest taking a peek at Net::SFTP.
--
vek
-- | [reply] |
Well, I'm not controlling the servers, and the servers are using SSL and TLS. Afaik Net::SFTP only does SSH, besides that it has no support for FXP (site-to-site tranfers) which is one of the reasons I'm using Net::FTP.
I guess modifying Net::FTP to do TLS/SSL would be the best way, but my perl skills are not on that level I'm afraid.
Anyone out there with some skills than could be interested in looking at it?
bastardo.
| [reply] |
You might want to double check but I believe that Net::SFTP does have FXP support. The Net::SFTP::Constants module appears to import SSH2_FXP_* constants.
--
vek
--
| [reply] |
I had a similar problem where I wanted to do FTP over SSL. I don't know if this helps but I solved my problem by using a tool called lftp to mirror the FTPS site locally and then using perl to open the already local files.
Tiago
| [reply] |
I found a TLS Wrapper which will do the job untill Net::FTP gets updated with TLS/SSL support, it can be found at:
http://tlswrap.sunsite.dk/
for those interested.
Thanks for all your help.
Bastardo. | [reply] |