简体   繁体   English

使用Java将文件从FTP服务器下载到本地

[英]Download a file from FTP server to local in java

Can anyone suggest me some approach how can i download a file from FTP Server to the local machine. 谁能建议我一些方法,如何将文件从FTP服务器下载到本地计算机。 ? I don't want to create a new file in local machine and add content to it. 我不想在本地计算机上创建新文件并向其中添加内容。 I want the same file ? 我要同一个文件吗? Is there anyway than please let me know. 反正有没有请让我知道。

If this not possible that atleast how can we find the attributes of the file at FTP Server. 如果这不可能,那么我们如何在FTP服务器上找到文件的属性。

在这里,请检查此链接http://commons.apache.org/proper/commons-vfs//-您可以使用此链接从FTP服务器下载文件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM