问题
This problem pertains to Java
By using RandomAccessFile I intend to be able to also modify the file without blanking it.
回答1:
The FTP protocol only barely supports random access reads and writes.
That is to say, an FTP client can use the REST command to start reading or writing from a particular offset, but it will always truncate the file from that point.
来源:https://stackoverflow.com/questions/510492/can-and-how-do-you-use-randomaccessfile-with-a-file-contained-on-an-ftp-server