Hello,

 

I'm hoping someone here can help me out.

 

I'm trying to sync up a local directory with a remote FTP directory.  But
there's a catch.

 

The remote directory  has It's data re-uploaded every morning (whether it's
new or not), and hence the timestamp is reset to the time that it was
re-uploaded.

 

There is a naming convention that is used.  Filename-20070529.tar, where
2007=year, 05=month, and 29=day

 

So what I'm needing to do is to take a look at local filenames and determine
if the file on the remote end is the same, if it is, don't download/sync.,
otherwise download.

 

These are hefty filesizes, and a re-download isn't an option on a daily
basis.

 

What I don't know how to do is to use a regular expression within lftp to
identify if the remote file has a date in the filename, and how to compare
that to the local filenames.

 

Thanks so much for any assistance.

 

 

 

 

--

Matthew Kettlewell

President

TazaTek

970-985-4192

 

Reply via email to