Skip to main content

Different between PING & File Transfer?

More
15 years 5 months ago #28111 by apit
What is the different between PING & File transfer?

IF we ping between two stations, we are using ICMP protocol is it? If we are transferring files between two stations , is it started with hello packet like PING method and then communicate using TCP protocol?
More
15 years 5 months ago #28112 by Patiot
- Ping uses ICMP protocol, it is generally used to check network connectivity.
- where as the file transfer uses other protocols like tcp to transfer data. ICMP is not used as hello packet.

Generally if you want to transfer files from host A to host B with FTP, you generally check the reachability by pinging host B and then use application layer protocol FTP that uses TCP to transfer the files .

Thanks
Patiot
More
15 years 5 months ago #28113 by apit

ICMP is not used as hello packet.


Is TCP using "hello packet" ?

Generally if you want to transfer files from host A to host B with FTP, you generally check the reachability by pinging host B and then use application layer protocol FTP that uses TCP to transfer the files .

Thanks
Patiot


Before we transfer files, we still have to check the destination host live or dead...So we still using PING to transfer file is it?
More
15 years 5 months ago #28115 by Patiot
no no not necessarily . TCP uses three way handshake and not hello packets and that too not ping .

Thanks
Patiot
More
15 years 5 months ago #28116 by TheBishop
Have a look at the articles under the 'networking' menu at the top left of the Firewall.cx page for a good introduction to ICMP, TCP and other protocols
More
15 years 5 months ago #28126 by S0lo

Before we transfer files, we still have to check the destination host live or dead...So we still using PING to transfer file is it?


For FTP, If the destination is NOT alive. It will not respond. So the file transfer connection will time out and will not begin. No ping/icmp is done here. However, if the destination is not reachable (For example when a router cant find a route for a network) the connection will also time out, but as a side effect, the router can send an ICMP (Destination Unreachable) packet back to the initiator of the connection informing it of the failure. But those ICMP packets are not necessarily looked at or processed.

I'd go with TheBishop on checking the guides under the "networking" menu.

Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
Time to create page: 0.151 seconds