Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

checking for files and creating a web page

Status
Not open for further replies.

Myqns

Programmer
Jul 28, 2004
23
GB
Hello all,

I am using secure ftp to connect to a server and retrieve 'n' number of files. I want to detect if any of the files were missing on any given day. I plan to create a txt file with all the names of the files, read this file from the perl script and load the names as the key in a hash. I want to compare this keys with the files I am getting and if the file has come, put the status on the hash as present. If not, put the status as not present. After this hash has been created, I want to create a simple web page that just lists the file names and the status whether present or not. How to go about this? I am not very clear.

Thanks
 
Look up stoarble.pm to save your hash to disk, as saving to memory would be too volatile for what you're looking to do.

Start at the beginning, and sketch what you want to do

Net::SFTP would be the perl module you're looking for for secure FTP.

If you're looking for the scrtipt to be written for you, I'd try
--Paul

Come back if you have any specific queries

It's important in life to always strike a happy medium, so if you see someone with a crystal ball, and a smile on their face ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top