Hi,
Anyone have a script to share that grabs file list with dates and times from FTP?
For example, every hour I need to make sure new copy of file XYZ has been uploaded. the file name does not change, but the date and time will.
Thanks,
Bob
FTP site file names with dates and times
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7380
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: FTP site file names with dates and times
The FTPGetDirList function will get that for you.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: FTP site file names with dates and times
I had seen that command and tested with type = "L". -I did not test with the necessary type of "D" because the help file states:
"Type can be either D or L, where D obtains a full directory listing, including directories, subdirectories and their contents. L creates a simple file list, containing just filenames matching the file spec."
I thought that meant the D list would go "D" deeper, I did not think it meant the list would include "D" Details like file dates and times. ;>)
Thanks for the clarification,
Bob
"Type can be either D or L, where D obtains a full directory listing, including directories, subdirectories and their contents. L creates a simple file list, containing just filenames matching the file spec."
I thought that meant the D list would go "D" deeper, I did not think it meant the list would include "D" Details like file dates and times. ;>)
Thanks for the clarification,
Bob