Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to implement FTP using java?

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?

like image 731
Bhanu Boppana Avatar asked Jan 18 '11 04:01

Bhanu Boppana


People also ask

How do you implement FTP?

On the taskbar, click Start, and then click Control Panel. In Control Panel, click Programs and Features, and then click Turn Windows Features on or off. Expand Internet Information Services, and then FTP Server. Select FTP Service.

How FTP works step by step?

If you send files using FTP, files are either uploaded or downloaded to the FTP server. When you're uploading files, the files are transferred from a personal computer to the server. When you're downloaded files, the files are transferred from the server to your personal computer.

What are FTP commands?

The ftp command uses the File Transfer Protocol (FTP) to transfer files between the local host and a remote host or between two remote hosts. Remote execution of the ftp command is not recommended. The FTP protocol allows data transfer between hosts that use dissimilar file systems.

What is FTP introduction?

FTP stands for File Transfer Protocol. It is a protocol used to transfer files between an FTP host/server and an FTP client computer on the Internet. FTP is most commonly used to download files from the World Wide Web. It is an alternative choice to HTTP protocol for downloading and uploading files to FTP servers.


1 Answers

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

like image 194
CoolBeans Avatar answered Oct 18 '22 01:10

CoolBeans