[Cyberduck-trac] [Cyberduck] #11581: Downloads of 850MB or larger files fail on S3 with "access denied" error when "Segmented downloads with multiple connections per file" is checked
Cyberduck
trac at cyberduck.io
Wed Feb 10 08:29:38 UTC 2021
#11581: Downloads of 850MB or larger files fail on S3 with "access denied" error
when "Segmented downloads with multiple connections per file" is checked
--------------------------------+----------------------
Reporter: martin_w | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: core | Version: 7.8.2
Severity: normal | Resolution:
Keywords: segmented download | Architecture: Intel
Platform: Windows 10 |
--------------------------------+----------------------
Comment (by martin_w):
Interesting! The total length of the full path and filename is 129
characters. The filename itself is long: 103 characters. Still, it's hard
to understand why this would exceed NTFS limits, which are 255 characters
for an individual file or folder name, and 260 characters by default for
the total path length. (But per [https://docs.microsoft.com/en-
us/windows/win32/fileio/maximum-file-path-limitation|this article], the
limitation can be removed to support up to 32,767 characters).
Is CyberDuck doing something like maybe converting to a double-byte
character set that would cause the 260 character limit to be exceeded
(when combined with the `.cyberducksegment` extension)?
To test your idea, I tried `"Download as..."` and gave the downloaded file
a very short name. Indeed, with a short name, the file download continued
without error even when `"Segmented downloads with multiple connections
per file"` is '''checked'''. So it '''is''' related to Windows long path
limitations.
I've configured my Windows registry
(`Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled`
set to '''1''') to allow along paths. Does CyberDuck support long Windows
paths (via the `longPathAware` element in its application manifest, per
[https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-
limitation#enable-long-paths-in-windows-10-version-1607-and-later|this
article]?
--
Ticket URL: <https://trac.cyberduck.io/ticket/11581#comment:2>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows
More information about the Cyberduck-trac
mailing list