Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Rylan

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.
martin

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.
Rylan

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!
martin

Re: period character in remote path

Can you attach a log file for both scenarios (success and failure)?
Rylan

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?