in reply to Re^4: Help Required - Problem Automating SFTP
in thread Help Required - Problem Automating SFTP

Using Putty pscp:

Looking up host "*host_IP*"
Connecting to *host_IP port *port*
Server version: SSH-2.0-OpenSSH_5.1
We claim version: SSH-2.0-PuTTY_Release_0.60
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-256
Host key fingerprint is:
ssh-rsa 2048 *fingerprint*
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Reading private key file "c:/id_cmf_mediatech.ppk"
Using username "*mycompany*".
Offered public key
Offer of public key accepted
Authenticating with public key "rsa-key-20081029"
Access granted
Opened channel for session
Primary command failed; attempting fallback
Started a shell/command
Using SCP1
Connected to *host_IP*

Ok, this looks like it can get me a connection - how can I use this with Net::SFTP::Foreign to automate file downloads and moving files on the clients FTP site?