On Tue, 23 Oct 2001, Hamish Kibblewhite wrote:
> Hi, > I want to be able to get a file from an AS400. I would like to be > able to use ftp over SSL. Can anyone point me at what I need to do / read > to get a file using SSL? The AS/400 (iSeries/400), in V5R1 of OS/400, is capable of doing FTP over TLS/SSL. Some other people have suggested using SSH, which is _not_ available on the AS/400. To set up FTP over SSL on your AS/400, go here: http://publib.boulder.ibm.com/html/as400/v5r1/ic2924/info/rzain/rzainoverview.htm For a MS-Windows client that can connect using FTP over SSL, go here: http://www.wsftp.org/ > > I have had a look around with some google searches and believe I can > *probably* do this with perl and Net::SSLeay. What I don't understand is > how to arrive at the right incantation to make everything happen. > > I know nothing about certificates / how to use Net::SSLeay to set up a ftp > get under SSL and so on...and after all my searching / reading know I have > to know a bit about these subjects.... > > If anyone can help by pointing at the right documentation to read to know > what ssl calls to make and / or point me to SSLeay documentation that would > show me how to make the right calls under perl I would be very grateful. If you're *REALLY* looking to write your own FTP client that does SSL, I'd suggest you start by just writing a non-SSL FTP client. Get used to the mechanics of FTP, as this is 98% of the work. Do learn the FTP protocol, go to http://www.rfc-editor.org and do a search for FTP. RFC 959 is the primary standard for FTP, but many little modifications have been released over the years. Once you've gotten familiar with the FTP protocol, then check out the documentation for net::SSLeay, which should explain how to upgrade your TCP connections to be TLS/SSL connections. Aside from which port you connect to, this should be the only difference between standard FTP and SSL-FTP. > > thanks and regards, > Hamish Kibblewhite > Hope that helps... ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]