period character in remote path

Advertisement

Rylan
Guest

period character in remote path

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?

Reply with quote

Advertisement

Rylan
Guest

Logs

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!
Description: Logs

Reply with quote

martin
Site Admin
martin avatar

Re: Logs

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.

Reply with quote

Rylan
Guest

Thanks

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.

Reply with quote

Advertisement

You can post new topics in this forum