RE: document list?
RE: document list?
- Subject: RE: document list?
- From: email@hidden
- Date: Wed, 13 Dec 2000 10:47:27 -0800
>
>>I've been given the task to write a Script that when executed will check
a given folder for files and ftp them to an ftp server.
>
>>When it's run again I don't want to ftp any files that have already been
uploaded!
OK, assuming that you can't/don't want to delete the file or move it out of
the folder after uploading, I have a solution that works pretty reliably
and is not too complicated.
In the preferences folder create a new folder called "Uploading Aliases" or
something similar.
Each time you upload a file, create an alias to that file in the "Uploading
Aliases" folder.
Then, before you upload a file make sure there is not already an alias to
that file in the "Uploading Aliases" folder.
Finally, ad an idle handler that will remove any aliases from the
"Uploading Aliases" folder whose original has been deleted or moved.
HTH,
ES