Net-SFTP issues

From: Michael Ragsdale (mragsdal_at_utk.edu)
Date: 07/27/04

  • Next message: mafioso1823_at_contourmediagroup.com: "RE: Multiple Parameters"
    Date: Tue, 27 Jul 2004 14:34:06 -0400
    To: beginners@perl.org
    
    

    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?


  • Next message: mafioso1823_at_contourmediagroup.com: "RE: Multiple Parameters"