in reply to copying file from one server to other
Or just...scp /user/vickey/systems/system1/file1.csv /user/vickey/systems/system +1/file2.csv ... vickeys@localhost:C:/
Anyway, there are several modules that would allow you to do that from Perl: for SCP, you can use Net::OpenSSH or Net::SSH::Any (Net::SSH2 also supports SCP but it is buggy). Another option is to do the transfers using SFTP protocol that is much richer than SCP and allows more advanced operations, for that you can use Net::SFTP::Foreign.scp /user/vickey/systems/system1/file*.csv vickeys@localhost:C:/
Then, you also have WinSCP that you can install in your Windows machine in order to transfer files from the Unix server using a friendly graphical interface.
|
|---|