Hi,
I am using proftpd 1.3.3 final with configured mod_sftp (proftpd handles SFTP).
And I am unable to copy files to a server, but I can delete existing files from a server.
When I want to copy file, WinSCP shows this message:
No such file or directory.
Error code: 2
Error message from server (en-US): No such file
Request code: 3
proftpd log shows this:
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: using '/etc/ssh/ssh_host_rsa_key' as RSA hostkey
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: using '/etc/ssh/ssh_host_dsa_key' as DSA hostkey
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: received client version 'SSH-2.0-WinSCP_release_4.0.6'
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: handling connection from SSH2 client 'WinSCP_release_4.0.6'
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: + Session key exchange: diffie-hellman-group-exchange-sha1
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: + Session server hostkey: ssh-rsa
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: + Session client-to-server encryption: aes256-cbc
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: + Session server-to-client encryption: aes256-cbc
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: + Session client-to-server MAC: hmac-sha1
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: + Session server-to-client MAC: hmac-sha1
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: + Session client-to-server compression: none
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: + Session server-to-client compression: none
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: sending acceptable userauth methods: publickey,keyboard-interactive,password
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: sending userauth banner
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: sending userauth banner
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: sending userauth success
Feb 26 11:01:06 mod_sftp/0.9.7[10351]: user 'bman' authenticated via 'keyboard-interactive' method
Feb 26 11:01:08 mod_sftp/0.9.7[10351]: 'subsystem' channel request for 'sftp' subsystem
Feb 26 11:01:08 mod_sftp/0.9.7[10351]: using SFTP protocol version 5 for this session (channel ID 0)
Feb 26 11:01:12 mod_sftp/0.9.7[10351]: error checking '/home/bman/Ax.mpx' for LSTAT: No such file or directory
Feb 26 11:01:12 mod_sftp/0.9.7[10351]: error checking '/home/bman/Ax.mpx.filepart' for LSTAT: No such file or directory
Feb 26 11:01:12 mod_sftp/0.9.7[10351]: client requested OPEN_EXISTING flag in OPEN command and '/home/bman/Ax.mpx.filepart' does not exist
Feb 26 11:01:12 mod_sftp/0.9.7[10351]: error checking '/home/bman/Ax.mpx.filepart' for LSTAT: No such file or directory
I don't know if the problem is in the WinSCP or ProFTPD, but FileZilla in SFTP mode, console
sftp
work well.
I googled but find absolutely nothing about this problem.
Thank you