Check for file via FTP every xx mins?

rfresh

Well-Known Member
Licensed User
Longtime User
How can I check for a file and download it via FTP from my app when it is Paused?

I read the Timer doc and it said the Timer object doesn't work while the app is Paused. My app needs to use FTP and check for a file on my website and download it if it finds it. I know how to do all that, I'm just not sure what timer object/event I can use to know when to initiate the FTP call every so many minutes while the app is paused?

Thanks...
 

rfresh

Well-Known Member
Licensed User
Longtime User
I create the Service Module from a new project as a stand alone service or just add it from my existing app if I want it associated with my current app? I'm not clear if the Service module is part of your main app or a separate app.
 
Last edited:
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
Hmmm...so that means the Service Module kind of runs in parallel and stays 'engaged' and running even if the main app is killed or paused?
 
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
I want to schedule an FTP task to download a few files from my website, so I'll use a Service module and use StartServiceAt.

In the Service_Start Sub, can I initiate 5 FTP downloads of 5 small ascii text files from my website at the same time? And then I would check the filename in the FTP_DownloadCompleted Sub to see which ones finished? In other words, FTP can do multiple downloads at the same time?
 
Upvote 0
Top