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.


cstump
2013-02-04T19:57:08Z
Does the FTP List command return any results other than just stdout?

I was hoping to get a file count and a list of file names to work with similar to the Download/Upload commands, but it does not look like any of the task-specific variables are updated unless I am missing something.

Thanks,

Chuck
Sponsor
Forum information
cstump
2013-02-04T20:03:30Z
More background...

Here is what we are trying to accomplish

Watch a directory on the FTP server for any files (specific files matching a regex eventually). If there is none, then simply exit the job. If there are some, then download and do some other processing.

The job will run every N minutes between time X and time Y.

We do something already in a crude way by doing an FTP download and looking at the Result.NoDownloadedFiles variable on the task. However actually doing the download is not preferable in order to simply perform the check due to other logic/processing required in the overall job.





Support
2013-02-05T09:25:29Z
Use the Remote file trigger instead if you want to monitor a remote directory.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cstump
2013-02-06T18:17:11Z
Why didn't I think of that!

Perfect solution. I forgot all about that type of trigger.

Thanks
Scroll to Top