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


mmetzinger
2015-02-12T15:24:59Z
Please create a way to download only the most recent file from a FTP server.

Example:
File1_01012015.xls
File1_01052015.xls

Only the second file to be downloaded.
Sponsor
Forum information
thomas
2015-02-12T21:09:30Z
They could make a method to download the last file based on modified/created date, but you are asking for a general method to download the latest file based on the filename. That is something you have to make yourself. There are loads of different date formats, and it's a lot easier for you to create a job that downloads the latest file based on your needs, than it is for support to make a method that covers all possible formats.

if you know you are receiving a new file every day, just download based on a filter like this "File1_" + ddmmyyyy + ".xls". I can't remember the VC way of writing this at the top of my head, but I can show you tomorrow.
Support
2015-02-12T21:47:48Z
When we implement this we will implement this the same way as in the Result tab of the File filter for local files. This means you will be able to sort the result on date or file name. So if date is not possible, file name could be sorted - given that you have a file name that can be sorted well. Also we will add the same limit functionality as in the Result tab for local files.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2015-04-14T10:46:06Z
We have now implemented sorting and result limit here: http://www.visualcron.co....aspx?g=posts&t=4907 

Please test!
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Curtis
2015-07-09T17:52:52Z
Running version 7.7.1
I was trying to add this functionality that you added in 7.6.5 to limit the download of a single file based on the sorting and limit results when using FTP. When I use the test results everything is working file, however when the task actually runs as part of the job, it downloads all the files in the ftp folder without a limit.

Please see the attached screen shot and let me know if I have something incorrect.

Thanks,
Curtis
FTPLimit.JPG
Support
2015-07-10T09:35:41Z
Originally Posted by: Curtis 

Running version 7.7.1
I was trying to add this functionality that you added in 7.6.5 to limit the download of a single file based on the sorting and limit results when using FTP. When I use the test results everything is working file, however when the task actually runs as part of the job, it downloads all the files in the ftp folder without a limit.

Please see the attached screen shot and let me know if I have something incorrect.

Thanks,
Curtis
FTPLimit.JPG



Thanks for the report. There is a problem here and we will fix this as soon as possible. It will probably be fixed for version 7.7.3.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2015-08-10T08:55:05Z
Scroll to Top