Topic "path + filename limit"

Author Message
chadr

Guest


version 4.1.8
winxp os

I am copying files to a directory and get an error stating "can't create file....". The destination path + filename is quite long at 246 characters:

C:\Documents and Settings\Chad\My Documents\My Music CDs\A Tribe Called Quest - People's Instinctive Travels and the Paths of Rhythm (1990)\01 Push It Along, A Tribe Called Quest - People's Instinctive Travels And The Paths Of Rhythm (1990).WAV

If I shorten the name a bit by changing "C:\Documents and Settings\Chad\My Documents\My Music CDs" to a shorter path it is fine. I can then copy the files in winxp back to the original destination and it is ok.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
I belive that this is limitation of Windows on some filesystems. Have you tried creating such file directly in Windows Explorer?
_________________
Martin Prikryl
Pascal Boulerie
[View user's profile]

Joined: 2009-07-31
Posts: 20
Location: France
prikryl wrote:
this is a limitation of Windows. Have you tried creating such file directly in Windows Explorer?


Yes indeed : there is a limit around 255 characters for file names and file path names, including the antislash characters "\".

The only solution is to shorten the original path name.

(Another possibility would be to develop a rename pathname interface in WinSCP...)
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
This issue has been added to tracker.
_________________
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