Detect a new file in a directory and copy it...

Example tasks
User avatar
Alex
Site Admin
Posts: 341
Joined: Mon May 21, 2007 4:09 pm
Contact:

Detect a new file in a directory and copy it...

Postby Alex » Thu Jun 07, 2007 9:54 am

Quite often you just need to copy new files from a certain directory to another location. You will find a simple example of how to do it in the attachment.
The task will be started for each new file. The directory is checked for new files every 30 seconds so you may have to wait a bit.

I want to send local files to an FTP server and then rename them
The task synchronizes a local directory with an FTP directory (only text files) and renames local files to .bak after that.
Attachments
CopyNewFile.xstk
(6.59 KiB) Downloaded 1184 times

Return to “Examples”

Who is online

Users browsing this forum: No registered users and 2 guests