Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Robbanz
2015-08-26T17:56:36Z
Back again...

what is the proper way to do a rename in a temp folder on a ftp in version 7.7.4?

in our previous version you made one upload task which uploaded the files to the temp folder and we then did a rename with the include file mask set to
{TRIGGER(Active,LastTrigger,File.Result.Name)} in the remote file filter tab and in the rename tab we set the new name to
/ftpfolder/Temp/{TRIGGER(Active,LastTrigger,File.Result.Name)}

this would move the file from Temp folder to main folder with the same filename
now in 7.7.4 this dosen't work anymore.
Sponsor
Forum information
ErikC
2015-08-27T07:00:39Z
Hi Robbanz,

To use the filename from a remote site, you need to use the remote file name result.
The variable you are using is getting a local file trigger.

So you something like this and it will work:
{TRIGGER(Active|18273645-1029-0192-abcd-1029abcsef34|RemoteFile.Result.Name)}

The id in here is the trigger id.


[edit]I'm not sure you can put it in a different destination directory with the rename task. I think you should use the Copy/Move file command type for this.[/edit]

Regards,
Erik
Uses Visualcron since 2006.
Robbanz
2015-08-27T09:01:09Z
Copy/Move did the trick!

thanks for the help
Scroll to Top