Hi everyone!
One {site i’ve interested} has a particular file, which is published every day.
I wish to write an agent to download it at 8.00 every day.
Does anyone know how?
Thanks,
Dmitry.
Hi everyone!
One {site i’ve interested} has a particular file, which is published every day.
I wish to write an agent to download it at 8.00 every day.
Does anyone know how?
Thanks,
Dmitry.
Subject: How to programmatically download a file?
Hi Dmitry
LotusScript or formula does not contain any functionallity to download a file. So - in therory, you can’t.
BUT… If it was me…
I would find a command-line http/ftp download program and use this in your agent. Use the shell command to trigger the command-line program.
After the shell command, you can make a loop to wait for the file to be downloaded. When this is done you can do whatever you want to do with the file.
Hope it helps…
Christian Gravgaard
Theilgaard Mortensen A/S
Subject: RE: How to programmatically download a file?
Here is one such program, and it’s freeware too:HttpCopy - Active+ Software
Subject: How to programmatically download a file?
You can use FTP protocol in LotusScript :
or
Subject: RE: How to programmatically download a file?
I have made this work in Notes, but have had no success in making this work in a Browser. Any ideas? I am using it in a WebQueryOpen event agent.