I'm trying to convert all of my scripts over from Net-FTP to Net-SFTP on Activestate 5.6.1. I was getting the error:

Your vendor has not defined Fcntl macro F_SETFL, used at H:/Perl/site/lib/Net/SSH/Perl.pm line 218.

After some research, I found that I need to install Net-SSH-W32Perl that is supposed to contain a workaround. I've installed it successfully, but I'm not sure how to force Net-SFTP to use that module as opposed to the Net-SSH-Perl module. I'm still getting the same error message.

Does anyone have some sample code for appending files using Net-SFTP in a Windows environment?


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to