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


dennyc
2011-05-29T23:38:32Z
Complete newbie here...

I am downloading from an ftp site. If there is no file to get, i don't want to log anything.
If there is a file and i download it successfully, i want to log that it was successful and the filename to the DB.
If it fails, i still want to log the filename, but as a failure.

I think i can create two tasks that have conditions to log. How do i know what filename or filenames were retrieved?

Also, is there anyway to log to a text file the actual ftp session information? I looked at the variables and didn't see anything. Thanks!


Sponsor
Forum information
ErikC
2011-05-30T07:53:02Z
Hi dennyc,

Welcome to the forum!

dennyc wrote:

I think i can create two tasks that have conditions to log. How do i know what filename or filenames were retrieved?


You could place the files in a certain folder and use a different job with a filetrigger on it, or you could make an extra command task executing a CMD /c DIR /b in this folder to see the filenames. And there are more...
dennyc wrote:

Also, is there anyway to log to a text file the actual ftp session information? I looked at the variables and didn't see anything. Thanks!


You can use the output of the ftp task and write this to a file using the file write task.

Regards
Erik


Uses Visualcron since 2006.
2026-10-21T10:48:07Z
Comfortabl y, the post is really the freshest on this deserving topic. I harmonise with your conclusions and also can thirstily look forward to your next updates. Just saying thanks will not simply just be adequate, for the extraordinary clarity in your writing. I can directly grab your rss feed to stay informed of any updates. Gratifying work and much success in your business dealings! toto macau 
2026-10-22T11:34:44Z
It’s really a nice and helpful piece of info. I’m glad that you just shared this helpful info with us. Please keep us informed like this. Thanks for sharing. situs toto 
2026-10-22T13:14:08Z
Hello Internet web site owner. I seriously love this writing and also your webpage all in all! That write-up is very clearly written and also without difficulty understandable. Your WordPress design is wonderful as well! Would definitely be excellent to discover where I can get that. Be sure to hold up the excellent work. We all need much more this sort of internet owners such as you online and much less spammers. Exceptional mate! Best WoW Forever Gold Store for New Players 
Scroll to Top