Re: Issue 128269 in chromium: Long file name won't download: Path too long

184 views
Skip to first unread message

chro...@googlecode.com

unread,
May 16, 2012, 5:04:05 AM5/16/12
to chromi...@chromium.org
Updates:
Owner: achu...@chromium.org

Comment #1 on issue 128269 by kaznach...@chromium.org: Long file name won't
download: Path too long
http://code.google.com/p/chromium/issues/detail?id=128269

This is not handled in the File Manager UI layer.

chro...@googlecode.com

unread,
May 16, 2012, 5:37:05 AM5/16/12
to chromi...@chromium.org

Comment #2 on issue 128269 by achu...@chromium.org: Long file name won't
Josh: Can you create the file outside of google docs and try to download
it? I think this might be a limitation of the downloads system and may have
nothing to do with drive.

chro...@googlecode.com

unread,
May 16, 2012, 3:23:28 PM5/16/12
to chromi...@chromium.org

Comment #3 on issue 128269 by joshwood...@chromium.org: Long file name
@achuith - It seems so. I just created a new Word Doc file, gave it a
really long name, attached it in Gmail, and then tried to download it. Same
error.

Attachments:
Screenshot_2012-05-16_11:41:50_AM.png 31.1 KB

chro...@googlecode.com

unread,
May 16, 2012, 3:35:21 PM5/16/12
to chromi...@chromium.org
Updates:
Cc: rds...@chromium.org asa...@chromium.org

Comment #4 on issue 128269 by achu...@chromium.org: Long file name won't
Adding a few downloads folks to figure out what can be done with this bug.

chro...@googlecode.com

unread,
May 22, 2012, 5:27:30 PM5/22/12
to chromi...@chromium.org

Comment #5 on issue 128269 by rds...@chromium.org: Long file name won't
The Path Too Long error is passed on by the downloads system from the
underlying OS. I wouldn't have thought 140 characters would be too much
from ChromeOS. Possibly it's not the path but the filename to the
downloads directory on ChromeOS?


chro...@googlecode.com

unread,
May 25, 2012, 11:45:46 AM5/25/12
to chromi...@chromium.org

Comment #6 on issue 128269 by asa...@chromium.org: Long file name won't
From my CrOS device:

t=1337895997963 [st=14] DOWNLOAD_FILE_RENAMED
--> new_filename
= "/home/chronos/user/Downloads/012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678.txt.crdownload"
--> old_filename
= "/home/chronos/user/Downloads/.com.google.Chrome.gk7GeN"
t=1337895997963 [st=14] DOWNLOAD_FILE_CLOSED
t=1337895997963 [st=14] DOWNLOAD_FILE_ERROR
--> net_error = -17 (ERR_FILE_PATH_TOO_LONG)
--> operation = "WriteFile"

The length of the filename is 144 characters (a 143 character filename
suceeded). The "WriteFile" operation mentioned in the log is
file_util::WriteFile() which is called as
file_util::WriteFile(new_filename, "", 0).

Why would creat() fail for such an odd filename length?

Is this limitation discoverable via statfs()? If so we can attempt to
truncate the filename as necessary during filename determination.


chro...@googlecode.com

unread,
Sep 11, 2012, 10:52:02 AM9/11/12
to chromi...@chromium.org
Updates:
Labels: Feature-Downloads

Comment #9 on issue 128269 by asa...@chromium.org: Long file name won't
(No comment was entered for this change.)

chro...@googlecode.com

unread,
Sep 11, 2012, 10:54:02 AM9/11/12
to chromi...@chromium.org
Issue 128269: Long file name won't download: Path too long
http://code.google.com/p/chromium/issues/detail?id=128269

This issue is now blocking issue chromium:68198.
See http://code.google.com/p/chromium/issues/detail?id=68198

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

chro...@googlecode.com

unread,
Sep 13, 2012, 9:00:16 AM9/13/12
to chromi...@chromium.org

Comment #11 on issue 128269 by faizee...@gmail.com: Long file name won't
Long Path Tool helped me in this situation. http://PathTooDeep.com.!Chek
It.!

chro...@googlecode.com

unread,
Sep 19, 2012, 11:42:25 PM9/19/12
to chromi...@chromium.org

Comment #14 on issue 128269 by GabrielN...@gmail.com: Long file name won't

chro...@googlecode.com

unread,
Nov 1, 2012, 1:38:38 AM11/1/12
to chromi...@chromium.org

Comment #16 on issue 128269 by armaan...@gmail.com: Long file name won't

chro...@googlecode.com

unread,
Nov 2, 2012, 2:47:54 AM11/2/12
to chromi...@chromium.org

Comment #17 on issue 128269 by orschiro: Long file name won't download:
I have this same issue when installing extensions. Instead of being
installed they are shown as sdasdsadasdadsdsd...crx 92.1/92.1 KB Path Too
Long...

chro...@googlecode.com

unread,
Nov 3, 2012, 7:46:25 AM11/3/12
to chromi...@chromium.org

Comment #18 on issue 128269 by orschiro: Long file name won't download:
I changed the path of the download directory even though I configured
Chrome to ask me every time for the download location. Fortunately this
helped to solve the problem and extensions are installed again normally.

chro...@googlecode.com

unread,
Nov 14, 2012, 3:30:58 AM11/14/12
to chromi...@chromium.org

Comment #20 on issue 128269 by atyagaty...@gmail.com: Long file name won't
This is a Windows* OS/file system issue.If your folder destination path is
too long(more than 255 characters in Windows),you can come across a long
path error.You can fix it with additional softwares like Long Path Tool.
http://PathTooDeep.com
I hope that it will help you!
Good luck!
Cheers!

chro...@googlecode.com

unread,
Nov 27, 2012, 4:56:25 PM11/27/12
to chromi...@chromium.org

Comment #21 on issue 128269 by asa...@chromium.org: Long file name won't
Ah. Thanks to kinaba@ for this link:
https://bugs.launchpad.net/ecryptfs/+bug/344878

(from http://code.google.com/p/chromium/issues/detail?id=162734#c6).

This answers the questions in #6 (namely, the limit is indeed 143, and it
is discoverable via statfs()).


chro...@googlecode.com

unread,
Jan 7, 2013, 12:38:25 AM1/7/13
to chromi...@chromium.org
Updates:
Status: Duplicate
Mergedinto: 162734

Comment #25 on issue 128269 by kin...@chromium.org: Long file name won't

chro...@googlecode.com

unread,
Feb 1, 2013, 11:00:23 PM2/1/13
to chromi...@chromium.org

Comment #26 on issue 128269 by maribern...@gmail.com: Long file name won't
I had this problem too before. I think the file is really too long to
download. I read some articles and used Long Path Tool. I was happy because
it worked.

chro...@googlecode.com

unread,
Feb 1, 2013, 11:02:23 PM2/1/13
to chromi...@chromium.org

Comment #27 on issue 128269 by kroweyba...@gmail.com: Long file name won't
I had this problem too before. I couldnt download a file because its too
long. I read some articles and used search engine and found a way to do it.
I used Long Path Tool. Hope this would help.

chro...@googlecode.com

unread,
Mar 19, 2013, 11:22:45 AM3/19/13
to chromi...@chromium.org

Comment #29 on issue 128269 by stevenLo...@gmail.com: Long file name won't
I recommend longPathTool.
I had this same experience and I've been using it for my files.no hassle.


http://LongPathTool.com

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages