Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^3: Net SFTP Foreign rget

by salva (Abbot)
on Nov 27, 2013 at 09:25 UTC ( #1064586=note: print w/replies, xml ) Need Help??

in reply to Re^2: Net SFTP Foreign rget
in thread Net SFTP Foreign rget

In order to discover vendor and version of the software use telnet to connect to the ssh port on the server and it will tell you. For instance, this is what I get from my workstation:
$ telnet localhost 22 Trying ::1... Connected to localhost.localdomain. Escape character is '^]'. SSH-2.0-OpenSSH_6.2p2 Ubuntu-6ubuntu0.1

Also, can you dump the result of calling stat on any of those files that fail to transfer:

use Data::Dumper; Print Dumper($sftp->stat('/temp/sftp/01/01.txt'));

Replies are listed 'Best First'.
Re^4: Net SFTP Foreign rget
by SpaansBolletje (Initiate) on Nov 27, 2013 at 09:28 UTC

    Using FreeFTPd to create the sftp server

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1064586]
[Copacetic]: Sorry, I've just discovered that it gives a useful error message if I select "preview" (as well as removing the "create" button for some reason). It was that my title wasn't long enough. Thanks for your help.
[choroba]: :-)

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2017-05-26 15:18 GMT
Find Nodes?
    Voting Booth?