tags:

views:

28

answers:

1

Is there a way to upload a file with ftp4j in append mode? I can't find any reference to that in the documentation or on google. Thank you!

A: 

The FTPClient.upload(File file, long RestartAt) method can restart an upload. The parameter restartAt specifies the restart point (number of bytes already uploaded). Use isResumeSupported() to check if the server supports resuming of broken data transfers.

Giuseppe Cardone
what we need is something that would append to a file even if the new file is a smaller file. Eventually we changed the way we did this, so, thank you very much anyways :)
Alberto M