Topic "Can't create directory - SSH_FXP_REALPATH with SFTP version 6 a problem in 5.7.6"

Author Message
netvectorman
[View user's profile]

Joined: 2015-11-17
Posts: 2
Location: Canada
I recently upgraded to 5.7.6 and found that I couldn't create directories using SFTP.

After some reading and investigation I found that this was a problem that was fixed in 5.7.1. (http://bugs.proftpd.org/show_bug.cgi?id=4160).

Rolling back to 5.7.1 fixed the problem.

Another workaround was to change to version 5.

So...still a problem in latest release.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
netvectorman
[View user's profile]

Joined: 2015-11-17
Posts: 2
Location: Canada
I've attached the log file.
I performed one directory creation using the Normal level of logging and one using Debug 1.
netvector@new.netfirms.com.log (24.26 KB) Private file

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Thanks for the log.

The initial workaround implemented in 5.7.1 was not conforming to SFTP specification. So it broke compatibility with some other servers.
I had to make the workaround apply for ProFTPD specifically only, since 5.7.2.
See https://winscp.net/tracker/show_bug.cgi?id=1308

But your server does not identify itself as ProFTPD, but as "netfirms FTP Server Ready". So WinSCP does not apply the workaround.

You should contact your hosting provider to upgrade their ProFTPD server. Or at least re-configure it to correctly identify as ProFTPD.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License