how to implement FTP using java?
Asked Answered
P

2

5

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?

Psychomancy answered 18/1, 2011 at 4:38 Comment(2)
your question seems has way to much information not concerning the question:)Praise
You can rely on combination of UNIX commands with Java, check if this helps :techforumnetwork.com/questions_answers/java-questions_answers/…Sardis
C
7

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

Cayes answered 18/1, 2011 at 4:48 Comment(0)
H
1

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.

Heisel answered 18/1, 2011 at 7:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.