FTP List command results - VisualCron - 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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Why didn't I think of that!

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

Thanks
Scroll to Top