Topic "Empty directory copying error"

Author Message
mapiet

Guest


Using WinSCP 5.1.8 (build 3799) with “Commander” interface on Windows 2000 SP4.

The situation looks that:
I have one directory on the local machine and the one directory in the remote destination (this same name of directory). Both directories are empty. If I try copy empty directory from local machine to remote destination (override), an error message appears: "Copying files to remote side failed. Error creating folder 'folder name with path'. folder name: File exists". I am using the Default transfer settings.
Advertisements
mapiet

Guest


I have to clarify: I am using a FTP transfer protocol.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
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 may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
_________________
Martin Prikryl
mapiet

Guest


This is the logfile (in attachment).
NASZ-SERWER-PLIKI.log (7.37 KB) [Download]

Description: This is the logfile (in attachment).

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
The error message is actually misleading.

The actual problem is here:
Quote:
> 2013-12-07 09:14:18.551 MLST /m.ptr/Program SN/tmp_tmp/tmp_dir
< 2013-12-07 09:14:18.551 501 Invalid number of arguments


Your server fails MLST command for some reason. Possibly it gets confused with the space in the path.
_________________
Martin Prikryl
mapiet

Guest


That's true. I checked it a moment ago. This problem is bound with spaces in path. What is guilty: the FTP server or WinSCP application?
mapiet

Guest


I have to add: The other FTP client (Total Commander) work fine in this same situation, even if in the path are some spaces.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
mapiet wrote:
I have to add: The other FTP client (Total Commander) work fine in this same situation, even if in the path are some spaces.

TC possibly does not use MLST command. Your server does not seem to have problems with other commands.
_________________
Martin Prikryl
mapiet

Guest


Will you do something with this problem in future (in WinSCP application)? Whether the problem there is only in my computer or in remote computer (i.e. in the FTP server) and it must be resolved by me?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
I do not think that WinSCP is doing anything wrong. So, no, I do not plan to change anything. Please contact your FTP server software vendor.
_________________
Martin Prikryl
mapiet

Guest


Maybe WinSCP should use quotes around pathname strings? Probably then would be no problems with spaces in path, in any operating systems.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
mapiet wrote:
Maybe WinSCP should use quotes around pathname strings? Probably then would be no problems with spaces in path, in any operating systems.

There's nothing about quotes in the FTP specification. So such a change will likely break more than it would fix.
_________________
Martin Prikryl
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