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


Anil Rodrigues
2017-12-08T09:50:53Z
Hi,

I get this file with name "daily-feed-DDMMYYYY.txt" how can i rename it with "Daily-Feed-YYYYMMDD.txt" while running "Remote file"
Sponsor
Forum information
Support
2017-12-08T09:54:07Z
How do you get it? (through what Task)
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Anil Rodrigues
2017-12-08T10:01:30Z
While running the Remote File Task;

Untitled.jpg
Support
2017-12-08T10:03:36Z
So, you use the Remote file Trigger and want to rename it locally after download OR on the remote server?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Anil Rodrigues
2017-12-08T10:08:30Z
both Locally as well as remote Server. Right Now am testing locally, once successful will configure it on remote server.
Support
2017-12-08T10:09:54Z
But it is very different solution if you want to rename a file in the local file system or if you want to rename a file on the FTP server for example.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Anil Rodrigues
2017-12-08T10:14:33Z
I want to rename it on the remote server after download
Support
2017-12-08T10:18:19Z
Then use the Rename action in the FTP Task. There is a Remote file filter.

In Folder you specify value from the Trigger: {TRIGGER(Active|LastTrigger|RemoteFile.Result.Folder)}
In the Include file mask you use value from the Trigger: {TRIGGER(Active|LastTrigger|RemoteFile.Result.Name)}

Then in Rename file tab you specify the name: Daily-Feed-{DATEFORMAT(yyyyMMdd)}.txt
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Anil Rodrigues
2017-12-08T10:23:16Z
Does the FTP task monitor the file in the source location? Why I selected "Remote File" trigger is because I need to copy the file as soon as they are placed in the source.
Support
2017-12-08T10:26:52Z
You use the Remote File Trigger. It has Download option. Please check the Download tab.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top