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

It is running windows xp, and hosting a sftp server. When i check the debug log, i see that the files are not regular files? They are just text files or xml files.

set_error: _set_err code: 35, str: remote file '/temp/sftp/01/01.txt' is not regular file, directory or link

And thanks for the error tip!

Replies are listed 'Best First'.
Re^3: Net SFTP Foreign rget
by salva (Canon) on Nov 27, 2013 at 09:25 UTC
    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'));
      SSH-2.0-WeOnlyDo-wodFTPD 3.2.2.395

      Using FreeFTPd to create the sftp server