I'm implementing a GADirector project that will basically send files to a remote FTP server, where a process is constantly polling for new files, and then handles them.
As the FTP server does not implement exclusive file locking or checksum functionnality, I'm trying to write the following:
- upload files with a '.' prefix (so they will not be listed by 'ls' command on remote site)
- rename the remote files to suppress the leading dot...
I'm trying to use the FTP rename task, but i'm struggling on the correct parameters syntax to rename the whole fileset of dot-prefixed files...
Any help or hint apreciated...
- Posts: 5
- Joined: Thu Oct 07, 2010 10:54 am
- Code: Select all
<project name="RenameFiles on FTP" mainModule="Main" version="1.0">
<rename searchPattern="\.(.*)" patternType="regex" replaceWith="$1" />
- Posts: 17
- Joined: Mon Jun 14, 2010 3:58 pm
Who is online
Users browsing this forum: No registered users and 0 guests