- Posts: 227
- Thank you received: 0
Different between PING & File Transfer?
16 years 1 month ago #28111
by apit
Different between PING & File Transfer? was created 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?
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?
16 years 1 month ago #28112
by Patiot
Replied by Patiot on topic Re: Different between PING & File Transfer?
- 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
- 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
16 years 1 month ago #28113
by apit
Is TCP using "hello packet" ?
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?
Replied by apit on topic Re: Different between PING & File Transfer?
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?
16 years 1 month ago #28115
by Patiot
Replied by Patiot on topic Re: Different between PING & File Transfer?
no no not necessarily . TCP uses three way handshake and not hello packets and that too not ping .
Thanks
Patiot
Thanks
Patiot
16 years 1 month ago #28116
by TheBishop
Replied by TheBishop on topic Re: Different between PING & File Transfer?
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
16 years 1 month ago #28126
by S0lo
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
Replied by S0lo on topic Re: Different between PING & File Transfer?
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.130 seconds