in reply to SFTP & SSH support in Red Hat AS4

Try Net::SFTP::Foreign, it's an SFTP client that uses the ssh binary to connect to the remote server instead of Net::SSH::Perl. It doesn't require any additional module to work and is much faster.

Its only drawbacks are that it doesn't support user/password authentication and that it doesn't work on Windows.

Replies are listed 'Best First'.
Re^2: SFTP & SSH support in Red Hat AS4
by Banshee06 (Novice) on Oct 06, 2006 at 17:08 UTC
    But the main reason I am using perl is for the user/password authentication so I dont have to use expect. I already have a perl script using ftp I can easily use sftp in the same scritp If I can get sftp to work. Thanks
      Another option is the psftp program, part of the PuTTY set of utilities.

      It accepts the user and passwords as arguments on the command line, though this is not very secure as other users would be able to see then just running ps.