Page 1 of 1

Download a public web file?

Posted: Wed Jul 23, 2014 2:11 pm
by nishantmathur
Can I create a process to download a file from a external public website?

Here is download link which we use to download files on monthly basis.

http://nppes.viva-it.com/NPPES_Data_Dis ... y_2014.zip

Where "_july_2014.zip" is changed every month.

Thanks in advance for any help.

Re: Download a public web file?

Posted: Thu Jul 24, 2014 2:02 pm
by Support_Rick
Yes .. by using a System Function with the HTTP Task, you can create the target filename needed.

Inside your HTTP Task change the filename to:

NPPES_Data_Dis...${CurrentDate('MMMMM_yyyy')}.zip


See the following post for more information:

How to Generate the Current Date

Re: Download a public web file?

Posted: Thu Jul 24, 2014 2:18 pm
by nishantmathur
Rich,

Thanks for your reply

I am having difficulty creating HTTP Task.. can you point me to an example?.. help document is not very detailed for public web sites/URL's

Thanks,

Re: Download a public web file?

Posted: Thu Jul 24, 2014 3:41 pm
by Support_Rick
Doing a search from within the GoAnywhere Forum, you'll find numerous examples. Please see the following link as a possibility for what you are needing...

Call Web Services from GoAnywhere