Re: [PERL] Net::SFTP functions

2007-06-27 Thread oryann9
--- Octavian Rasnita <[EMAIL PROTECTED]> wrote: > Hi, > > You need to use: > > $ftp->get("/path/to/remote/file", > "/path/to/local/destination_file"); > > Octavian > Also you can use $remotedir = qq(/path/to/remoteserver/dir/); $sftp->cwd($remotedir) || die "CWD to folder outbound failed!:

Re: [PERL] Net::SFTP functions

2007-06-27 Thread Octavian Rasnita
Hi, You need to use: $ftp->get("/path/to/remote/file", "/path/to/local/destination_file"); Octavian - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Wednesday, June 27, 2007 11:59 AM Subject: [PERL] Net::SFTP functions Hi all, I am using

[PERL] Net::SFTP functions

2007-06-27 Thread julien . laffitte
Hi all, I am using Net::SFTP package to remotely connect to a local SFTP server (on a LAN) and retreive files from it toward another LAN shared folder. I am successfully connecting to the SFTP server (of that I am shure as the $sftp->ls() function displays me the folders of the home directory) ho