TLS script

  • Thread starter christophergraber
  • Start date
C

christophergraber

Hi,

I have poked around but haven't been able to figure this out:

I need to create a script that will go out and check a few TLS FTP
sites we have at my work. It needs to check every day to see if any new
file(s) have been placed since the previous day. If there is a new
file, the script should send me an email notification.

I have something similar working for "normal" FTP sites that uses
Net::FTP. It connects to each FTP site, finds the most recent file
modification time with $ftp->mdtm($file), then compares this time to
the value held in a simple text file i've set up.

I don't think Net::Lite::FTP would allow me to determine modification
time on a TLS FTP site. I have only used it to push/pull files to a TLS
site.

A few folks I have asked this question to have said "write a shell
script" but I don't know how to start. "Use wget or curl", etc, they
say.

Any ideas for me?

Thanks,
Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top