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?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
You can use apache commons FTPClient. They have a good example on that page.
To add to CoolBeans answer, there are a number of existing packages that handles ftp. Implementing it yourself is not a good idea. My personal favourite is ftp4j.