develooper Front page | perl.beginners | Postings from August 2009

SFTP from Perl for Windows

Thread Next
Ashley Cooper
August 26, 2009 19:19
SFTP from Perl for Windows
Message ID:
I need to be able to do file transfers via SFTP from Perl (ActiveState)
in a Windows environment but I am having trouble finding a suitable Perl
module that works.


I have tried installing Net::SFTP::Foreign via ppm but it apparently
relies on having an ssh command that it can call to establish a
connection to start with. I have not been able to find a Windows ssh
command that can be used as a batch command (as opposed to a GUI).


I tried installing LWP::Protocol::sftp but it seems to end up calling
the above module and so still needs an ssh command.


I also tried to manually install Net:FTPSSL (and its dependants
IO::Socket:SSL and Net::SSLeay), none of which seem to be available on
ActiveState, but this requires a "make", a command which Windows doesn't
seem to have (I usually work in Unix).


Can anyone suggest how to get one of the above options to work in
Windows? Or a different option?


Thanks and regards,


This e-mail, including any attachments to it, may contain confidential and/or personal information. If you have received this e-mail in error, you must not copy, distribute, or disclose it, use or take any action based on the information contained within it. Please notify the sender immediately by return e-mail of the error and then delete the original e-mail.

The information contained within this e-mail may be solely the opinion of the sender and may not necessarily reflect the position, beliefs or opinions of the organisation on any issue. This email has been swept for the presence of computer viruses known to the organisation’s anti-virus systems.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About