Can and How do you use RandomAccessFile with a file contained on an FTP server?

二次信任 提交于 2019-12-13 03:47:53

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!