Topic "period character in remote path"

Author Message
Rylan

Guest


On my remote server, I can access the same location at both of the following paths.

/test/.myfolder/
/test/myfolder/

I don't know much about this server, I'm not an admin, just need to automate file uploads.

When I try uploading files to /test/myfolder/ I will occasionally get the following error.

Real path and requested remote path do not match:
"/test/.myfolder/"
"/test/myfolder/"

So I try uploading files to /test/.myfolder/ and again I will occasionally get the same error.

I've tried to isolate what causes the error but with no luck. The error occurs randomly as far as I can tell. It doesn't matter if I include the period in the remote path or not. It works sometimes with both paths, and it fails sometimes with both paths.

Could this be a bug or limitation in winscp or is there something funky happening on my remote server?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Can you attach a log file for both scenarios (success and failure)?
_________________
Martin Prikryl
Rylan

Guest


Logs Attached.

The key lines I noticed.

With period in remote path (success)

> 2014-08-21 09:23:15.061 CWD /test/.myfolder/
< 2014-08-21 09:23:15.088 250 CWD command successful.
> 2014-08-21 09:23:15.088 PWD
< 2014-08-21 09:23:15.117 257 "/test/.myfolder" is current directory.

With period in remote path (failure)

> 2014-08-21 09:26:34.852 CWD /test/.myfolder/
< 2014-08-21 09:26:34.878 250 CWD command successful.
> 2014-08-21 09:26:34.878 PWD
< 2014-08-21 09:26:34.907 257 "/test/myfolder" is current directory.
. 2014-08-21 09:26:34.907 Real path and requested remote path do not match: "/test/myfolder/" "/test/.myfolder/"

Without period in remote path (success)

> 2014-08-21 09:25:03.109 CWD /test/myfolder/
< 2014-08-21 09:25:03.141 250 CWD command successful.
> 2014-08-21 09:25:03.141 PWD
< 2014-08-21 09:25:03.171 257 "/test/myfolder" is current directory.

Without period in remote path (failure)

> 2014-08-21 09:28:53.717 CWD /test/myfolder/
< 2014-08-21 09:28:53.743 250 CWD command successful.
> 2014-08-21 09:28:53.743 PWD
< 2014-08-21 09:28:53.774 257 "/test/.myfolder" is current directory.
. 2014-08-21 09:28:53.774 Real path and requested remote path do not match: "/test/.myfolder/" "/test/myfolder/"

Thank you for the help!
logs.txt (24.92 KB) [Download]

Description: Logs

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

Well, as you can see yourself, the server behaves rather erratically. I'm not sure what I can do about it.
_________________
Martin Prikryl
Rylan

Guest


Okay, thanks for looking. I coded to retry on the alternative path if the initial attempt fails and have had zero issues. Is strange but at least it works.
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