LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   FTP sites Status Checking (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-sites-status-checking-4175575663/)

saran_rhca 03-23-2016 05:11 AM

FTP sites Status Checking
 
Hi Friends,

I have one problem. I have more than 1000 ftp sites stored in the excel file. Now I want to check which one is active or inactive.
It is very difficult to check one by one. Because is nearly more than 1000 sites. all are stored in one excel file.
So can any one please help me on this above scenario or any scripts for this ftp sites.

Thanks in Advance.

zhjim 03-23-2016 05:26 AM

You could write a VBA script that tries to connect to mostly all of the 1000 sites. This way you would not have check them manualy from the excel file

saran_rhca 03-23-2016 05:29 AM

Quote:

Originally Posted by zhjim (Post 5520134)
You could write a VBA script that tries to connect to mostly all of the 1000 sites. This way you would not have check them manualy from the excel file

Hi

Thanks for the reply.

Can you give me the VBA script so that I will try.. Because I not familiar in programming.

Thanks

TB0ne 03-23-2016 08:11 AM

Quote:

Originally Posted by saran_rhca (Post 5520135)
Hi
Thanks for the reply.

Can you give me the VBA script so that I will try.. Because I not familiar in programming.

First, this is LINUXquestions....VBA is for Windows. Secondly, we are NOT going to write your scripts/programs for you...read the "Question Guidelines" link in my posting signature. We will HELP you, when you post what you have done/tried/written on your own, but will NOT do your work for you. Since you have "RHCA" in your user name, that means you should know how to write a script...since that was part of the 'certification' you have.

Exporting the Excel file to a CSV file is trivial...reading that CSV file and looping through it should also be fairly easy for someone with a 'certification' as well...especially given the thousands of samples scripts you could find already to help get you going.

BW-userx 03-23-2016 03:35 PM

would pinging the address be sufficient?


All times are GMT -5. The time now is 08:30 PM.