Topic "I get duplicate files when transferring a folder"

Author Message
InventorArtist
[View user's profile]

Joined: 2012-10-22
Posts: 2
Location: Canada
When I transfer a large folder to my computer or to a Web server, I often get a message that it is trying to over write a duplicate file.

This puzzles me since I don't expect this when transferring a whole folder for the first time.

Any ideas what to do?

I've not convinced myself this is a bug as it could be some sort of user error or something outside the ftp program.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
You possibly have two files on remote folder with the very same name except for a case. Your server may have case-sensitive files systems. Windows does not. So when downloading "file.txt", followed by "File.txt", the first one gets overwritten.
_________________
Martin Prikryl
InventorArtist
[View user's profile]

Joined: 2012-10-22
Posts: 2
Location: Canada
Thanks for the note!

That's one of the things I thought of and it accounts for some of them.

But I get the same issue when transferring from my Windows computer to a Web server as well. Also there are many cases where I can't find the mixed case duplicates. Sometimes I think the software is transferring the same file more than once. But I'm not sure. Sometimes I think there may be more than one path leading to the same file so the software sees it as two files. But if there were to routes to the same folder it would get a duplicate warning for every file in the folder...

So I'm looking for other things to check for.
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.

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
Squirrel Model Airplane

Guest


Thanks for the additional replies!

There is a slight development.

The problem was coming forward in this case because I was transferring a bunch of files to a newly acquired USB drive.

I was getting a collection of errors including the regular duplicate file problem.

I reformatted the drive to NTFS. I think the drive came with an older format for wider compatibility. After reformatting, most of the errors went away. The duplicate file problem did too.

So this is some sort of naming thing to do with the different file systems.

Not to do with your file transfer program (which I love by the way). I wasn't convinced the problem was in your software but I came here in case you had seen my complaint before...
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