Topic "can't upload or create folder path longer than 260 character"

Author Message
zenith

Guest


can't upload or create folder path longer than 260 character

i try to upload a folder with multiple sub folder, the error says fail to upload.
how could i solve the issue.
Freitag
[View user's profile]

Joined: 2007-10-25
Posts: 51
The only solution is to stop using Windows. Sorry, that is a built in limit.

https://msdn.microsoft.com/en-us/library/aa365247.aspx

Quote:
Maximum Path Length Limitation

In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined as 260 characters. A local path is structured in the following order: drive letter, colon, backslash, name components separated by backslashes, and a terminating null character. For example, the maximum path on drive D is "D:\<some 256-character path string><NUL>" where "<NUL>" represents the invisible terminating null character for the current system codepage. (The characters < > are used here for visual clarity and cannot be part of a valid path string.)
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