cbeber has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I need to transmit data using ftp over an ssl connection. There are some modules that can do this(LWP, Net::FTPSSL), but these won't work because I need to be able to rename files that I've uploaded.
Searching through CPAN I found IO::Socket::SSL, which claims to be a drop-in replacment for IO::Socket::INET. Net::FTP does everything I need, and uses IO::Socket::INET as one of its base classes.
Is there a way to extend Net::FTP so that it uses IO::Socket::SSL instead of IO::Socket::INET as its base class?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Extending Code By Changing the Base Class of an Object
by erroneousBollock (Curate) on Sep 11, 2007 at 16:13 UTC | |
by cbeber (Initiate) on Sep 11, 2007 at 16:45 UTC | |
Re: Extending Code By Changing the Base Class of an Object
by rhesa (Vicar) on Sep 11, 2007 at 18:47 UTC | |
Re: Extending Code By Changing the Base Class of an Object
by sgt (Deacon) on Sep 11, 2007 at 18:12 UTC | |
by cbeber (Initiate) on Sep 11, 2007 at 18:23 UTC | |
by sgt (Deacon) on Sep 11, 2007 at 19:02 UTC |
Back to
Seekers of Perl Wisdom