Re: Uploads < 4GB

Daniel Leaberry <[email protected]> Mon, 12 Dec 2005 09:27:49 -0700
Newsgroups gmane.network.pureftpd.user
Message-ID <[email protected]>
Pedram Ebrahimian-Diznabi wrote:

>Hi,
>
>I had few questions as to how pure-ftpd handles uploads?
>
>it is possible for me to have 4 uploads of 5GB at a time: 
>a) would it  be storing these files on a <temp> dir first, and them moving them to their respective locations? if so what is the <temp> path? and can I change this path?
>b) how well does the resume feature work (-K) under the worse case scenario? resuming all 4 files, with half of the files already uploaded?
>
>  
>
I really enjoyed using pure-ftpd until I hit this issue (question b). 
Resuming anything over 4GB does not work (at least on RHEL4). I spent a 
few hours debugging it and what happens is pure-ftpd correctly 
calculates the stor offsets but it appears that when it seeks the file 
it doesn't start at the right offset. My test case was a 5GB file. 
Resume anywhere after 4GB and when it gets to 5GB it will just keep on 
going. I don't mean to sound bitter or anything but when I posted to the 
list no one seemed very interested. I switched to vsftpd and it's doing 
what I need. In case anyone is interested I tested with a known good 
resume > 4GB client and compiled in large-file support in the server. 
proftpd 1.2 had the same issue but 1.3 didn't.


>Thank you,
>
>Pedram Ebrahimian-Diznabi
>Application Programmer-Analyst
>Sandvine Incorporated
>519-880-2400 ext 2954
>www.sandvine.com
>
>
>---------------------------------------------------------------------
>To post a new message, e-mail: [email protected]
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>
>  
>

---------------------------------------------------------------------
To post a new message, e-mail: [email protected]
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]