Topic "Long Filename logging Issue (and workaround)"

Author Message
Melakh

Guest


I recently encountered a error with a new backup job I've created using batch mode. Whenever the job encounters a filename where the combined length of the directory and filename is very long it will be unable to copy the file with an error message stating that the target file cannot be created.

The target device is NTFS (this is not a FAT issue). Details of the reason for the error can be found at: https://msdn.microsoft.com/en-us/library/aa365247.aspx

It's easy to work-around by prefixing the local directory with '\\?\' e.g. '\\?\E:\MyFolder'

The bug I would like to raise though is that this file was skipped by WinSCP but that didn't appear in the output logs anywhere as a failure, it was only by manually checking that I noticed files of these types were not being backed up.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
_________________
Martin Prikryl
Melakh
[View user's profile]

Joined: 2011-01-27
Posts: 1
E-mail sent
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