Go Back   TechArena Community > Technology > Networking & Security
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , ,

Sponsored Links


How To "Ping" FTP Server List

Networking & Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 15-09-2009
Member
 
Join Date: Sep 2009
Posts: 3
How To "Ping" FTP Server List

Sponsored Links
Dear all,


I have a issue regarding a "network" of ftp servers to which I have to connect one after the other. The issue consists in the reply from not available servers that hangs with no response messages such as "Connection refused" or "Destination unreachable".Can you suggest any commands to handle ftp replies or to test ftp connection prior it hangs??

Thank you for your attention.

Reply With Quote
  #2  
Old 15-09-2009
Snake08's Avatar
Member
 
Join Date: Apr 2008
Posts: 3,323
Re: How To "Ping" FTP Server List

You can able to ping your server by issuing the command ping followed by the servername or its IP address and f Press Ctrl+C to quit pinging.You can configure an FTP server on your computer so you can upload and download files easily. Most distributions come with an FTP server so it should not be complex at all.As for the mail server I recommend you don't unless you really know what you're doing since it is quite simple to lax the security one tiny bit and then your pc becomes a spamming relay. If you really need to configure a mail server, implement some means of secure forward - POP authentication before SMTP or authorized SMTP, or something to that effect
Reply With Quote
  #3  
Old 15-09-2009
Milton.J's Avatar
Member
 
Join Date: Apr 2008
Posts: 3,411
Re: How To "Ping" FTP Server List

There are a lot of tings behind this scenario. One instance would be to write a shell script which pings the server, prior you attempt to log into it. Perhaps something like this
Code:

for i in server1 server2 do
ping -c1 $i >/dev/null 2>/dev/null
if [ $? = 0 ]; then
ftp $i < somescript
fi

hope this helps
Reply With Quote
  #4  
Old 15-09-2009
Steve123's Avatar
Member
 
Join Date: Feb 2008
Posts: 2,615
Re: How To "Ping" FTP Server List

You can either do just a simple ping <host> (replace <host> with the name or IP of the machine you want to ping) and then use Ctrl+C to cease pinging, or use ping -c <number> <host> to ping a computer specfic number of times.as for the ping thanks for that infor i could ping but had not idea of how to stop it in windows this is stop automatically
Reply With Quote
Reply

  TechArena Community > Technology > Networking & Security


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How To "Ping" FTP Server List"
Thread Thread Starter Forum Replies Last Post
Domain Controller "status"on new W2K8 server is "not available" Susan Bradley Active Directory 2 13-12-2011 02:03 PM
<input type="button" value="Enregistrer" onclick="location.href=../asp/PRaces.asp"> Luz Software Development 6 18-05-2010 12:27 AM
"Wireless Networks Are Available", but my "Connect To" list is empty vincent Windows Vista Network 4 09-01-2010 09:27 PM
Ping "Request Timed Out" Apu Networking & Security 3 22-07-2009 11:09 PM
Server Crashes after SP1 install "Non-DLL file included in KnownDLL list" (Blue Screen) RGO Windows Server Help 8 07-11-2007 01:26 AM


All times are GMT +5.5. The time now is 10:36 PM.