It is currently March 28th, 2024, 9:40 pm



Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Too long filename (255 characters Windows limit).
PostPosted: February 9th, 2021, 4:58 am 

Joined: November 3rd, 2019, 1:30 pm
Posts: 79
Hi,
For some files I can't upload them to filehost from their current locations. I suspect it's connected with whole path (path + filename) to be longer than 255 chars.

Attachment:
Obraz ze schowka.jpg
Obraz ze schowka.jpg [ 29.12 KiB | Viewed 1341 times ]


Currently Windows allow to do that. Is it possible to fix that in TC?


Attachments:
Obraz ze schowka.jpg
Obraz ze schowka.jpg [ 29.12 KiB | Viewed 1341 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: Too long file path?
PostPosted: February 9th, 2021, 6:52 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
The file must be on local hard drive.

Your path starts with "//?". That's UNC path. It's on different machine / server.

Edit:

Fixed for next update (1.83).

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Too long file path?
PostPosted: February 9th, 2021, 8:44 am 

Joined: November 3rd, 2019, 1:30 pm
Posts: 79
Freddy wrote:
The file must be on local hard drive.

Your path starts with "//?". That's UNC path. It's on different machine / server.


No,
all the files are located at the same local drive in the same directory.

Attachment:
3.png
3.png [ 40.91 KiB | Viewed 1336 times ]


One of them was processed, the second one gave an error:

Attachment:
1.png
1.png [ 45.78 KiB | Viewed 1336 times ]


Attachment:
2.png
2.png [ 63.52 KiB | Viewed 1336 times ]


Top
 Profile  
Reply with quote  
 Post subject: Re: UNC path.
PostPosted: February 9th, 2021, 8:46 am 

Joined: November 3rd, 2019, 1:30 pm
Posts: 79
I have checked the total lenght of path and for sure it's longer than 255.
All that >255 files show the same error, which is not corresponding UNC path.

Attachment:
4.png
4.png [ 23.1 KiB | Viewed 1336 times ]


It looks like TC is considering pathes > 255 as UNC.


Top
 Profile  
Reply with quote  
 Post subject: Re: UNC path.
PostPosted: February 9th, 2021, 9:05 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
It's then 255 path limit if shorter filenames work fine.

You will need to rename or move the file few folders up to shorten it's length.

It's literally Windows limit, not sure how you even created that file since I can't create a file with path longer than 255 chars at all on my computer.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Too long filename (255 characters Windows limit)
PostPosted: February 9th, 2021, 9:25 am 

Joined: November 3rd, 2019, 1:30 pm
Posts: 79
That's the trick:
https://lifehacker.com/windows-10-allow ... 1785201032


Top
 Profile  
Reply with quote  
 Post subject: Re: Too long filename (255 characters Windows limit)
PostPosted: February 9th, 2021, 2:33 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Check PM.

Edit:
Fixed for next update (1.83).

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Too long filename (255 characters Windows limit).
PostPosted: August 6th, 2021, 1:55 pm 

Joined: March 15th, 2020, 9:53 pm
Posts: 91
I have not yet encountered a problem with uploading a file with path longer than 255 chars.

My problem shows up before I arrive at that step.

When file has a path longer than 255 chars I immediately get:

"Skipped. No cover could be generated from the file."


Top
 Profile  
Reply with quote  
 Post subject: Re: Too long filename (255 characters Windows limit).
PostPosted: August 6th, 2021, 2:34 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Tested with path over 300 chars, cover generating works fine in the latest version.

It's probably not related to that.

Upload the file / folder which you used to process to gdrive and do this: "Help" menu (at the top) -> "Support" -> "Compress" -> send me the file which it opens (also via gdrive) via PM.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC