Search code examples
ftpappendftp4j

ftp4j - upload a file in append mode


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!


Solution

  • Starting from frp4j 1.6 you can use the append() method:

    • append(File)
    • append(File, FTPDataTransferListener)
    • append(String, InputStream, long, FTPDataTransferListener)

    See: http://www.sauronsoftware.it/projects/ftp4j/api/it/sauronsoftware/ftp4j/FTPClient.html#append%28java.io.File%29