psftp on unix with big-file-support?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I'm a bit stuck here :) The task sounds simply. Transfer a file>2GB
*securely* from one host to another and have the possibility of "reget",
which is always handy in such cases.

After apache failed handling such big files without a complete recompile
and I didnt manage to tunnel ftp proper through ssh (seems rather
difficult cause of varying dataports) I ended up using the unix-port of
psftp (1000 thnx to simon t. for putty and the port), which can do all I

Unfortunately it does not support big files:

psftp> reget monthly.imap.00-06-15.recreate.tgz
reget: restarting at file position 2147483647
=> local:monthly.imap.00-06-15.recreate.tgz
File size limit exceeded

any (easy?) way to compile this into psftp?

thnx a lot,


Re: psftp on unix with big-file-support?

Quoted text here. Click to load it

Try rsync (compiled with large file support) over ssh (ie "rsync -e ssh").
Recent rsyncs default to ssh as the transport, so the latter bit may even
be redundant.

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Re: psftp on unix with big-file-support?

Darren Tucker wrote:
Quoted text here. Click to load it

thnx. I tried already. rsync also failed on such big files to me and
spend a lot of hardwareresources to get the delta-information, which is
kind of overkill.
I reverted to split and dd to procuce smaller junks that can be handled
by psftp (and even with https)



Site Timeline