[Cyberduck-trac] [Cyberduck] #1235: Transfers larger than 2**31 (2147483648) bytes fail

Cyberduck trac at trac.cyberduck.ch
Tue Jan 29 22:02:05 CET 2008


#1235: Transfers larger than 2**31 (2147483648) bytes fail
-----------------------------------+----------------------------------------
 Reporter:  reikon                 |        Owner:  dkocher 
     Type:  defect                 |       Status:  assigned
 Priority:  high                   |    Milestone:  2.9     
Component:  sftp                   |      Version:  2.7.3   
 Severity:  major                  |   Resolution:          
 Keywords:  sftp integer overflow  |  
-----------------------------------+----------------------------------------
Old description:

> When attempting to download more than 2147483648 bytes (Around 2 GB)
> Cyberduck gives the following error:
>
> SSH Error:
> A badly formatted packet or other SFTP protocol incompatibility was
> detected.
>
> I believe that using an integer type that has a significantly larger
> capacity (such as a long) for the counter would solve this problem.

New description:

 When attempting to download more than 2147483648 bytes (Around 2 GB)
 Cyberduck gives the following error:


 {{{
 SSH Error:
 A badly formatted packet or other SFTP protocol incompatibility was
 detected.
 }}}

 I believe that using an integer type that has a significantly larger
 capacity (such as a long) for the counter would solve this problem.

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/1235#comment:9>
Cyberduck <http://cyberduck.ch>
FTP and SFTP Browser for Mac OS X.


More information about the Cyberduck-trac mailing list