如何使用java实现FTP? [英] how to implement FTP using java?

查看:153
本文介绍了如何使用java实现FTP?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用FTP .......我必须在客户端嵌入一个msg到图像文件,我必须发送到服务器....在服务器端我必须检索图像文件,然后我会检索的消息。我已经完成了嵌入消息并使用密码学和隐写技术检索消息。我正在loking如何我可以将这个文件从客户端传输到服务器.....我必须使用FTP .....如何使用FTP成功地将文件从客户端传输到服务器,并在服务器端检索?

I am working with FTP.......i have to embedd a msg to a image file at client side and i have to send it to the server....on the server side i have to retrieve the image file and then i will retrieve the message. I have completed the embedding the message and retrieve the message using cryptography and steganography techniques. I am loking for how can i transfer that file from client to server.....i have to work with FTP.....how can use FTP successfully to transfer a file from client to server and retrieve it on server side?

推荐答案

您可以使用apache commons FTPClient 。他们在该页上有一个很好的例子。

You can use apache commons FTPClient. They have a good example on that page.

这篇关于如何使用java实现FTP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆