Tuesday, 3 May 2011

FTP (FILE TRANSFER PROTOCOL)


FTP (FILE TRANSFER PROTOCOL)


File Transfer Protocol is designed to do exactly that, transfer files between a server and a client.you can start up the FTP program on your machine and connect to a server. FTP service running on default port 21 on a remote machine.FTP service supports on most of today's operating systems.


FTP COMMANDS
You can get a list of the commands by typing '?' and pressing the enter key.



INTIATING FILE TRANSFERS FROM THE COMMAND LINE


1)On the command line, enter FTP .
2)Enter your login information if prompted.
3)Set your transfer mode to either 'Ascii' or 'Binary' depending upon the type of file you are transferring.
4)You can discover what directory you have connected to by entering the comand 'pwd'.
5)To change directories on the remote machine, enter 'cd' and the name of the directory.
6)To change directories locally, enter 'lcd' To put a file on the remote machine, enter PUT and the name of the file.
7)Once the transfer completes, you cen enter 'close' and then 'quit'('!' and 'bye' also serve the same function as quit).

Passive Mode
You can tranfer the files in Passive mode also.

1)The client opens a connection to the server on TCP port 21
2)The server accepts the connection.
3)The server initiates a connection to the client using port 20 as the source port (for the data channel)
4)The client accepts the connection and acknowledges all data transfers on port 20. 

5 comments:

Anonymous said...

Hi there, its pleasant piece of writing on the topic of media print, we all know media is
a enormous source of information.

Look at my web-site ... Alberton high school aftercare

Anonymous said...

Hello There. I found your blog the usage of msn.

This is a very neatly written article. I will make sure to bookmark it and come
back to read extra of your helpful information. Thanks for the post.
I will certainly comeback.

Also visit my blog post team development

Anonymous said...

I've been surfing online more than 4 hours today, yet I never found any interesting article like yours. It's pretty worth enough for me.
In my opinion, if all site owners and bloggers made good content as you did, the web will be much
more useful than ever before.

Feel free to visit my web page; The Hidden

Anonymous said...

Hello Dear, are you genuinely visiting this site regularly, if so afterward you will
without doubt take pleasant knowledge.

Here is my blog ... Game Development Tycoon

Anonymous said...

What's up, just wanted to say, I loved this post. It was helpful. Keep on posting!

Take a look at my site: Bukkit Tutorial Setup