Download a public web file?

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
4 posts Page 1 of 1

nishantmathur

Posts: 9
Joined: Thu May 15, 2014 10:47 am

Post by nishantmathur » Wed Jul 23, 2014 2:11 pm
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.

Support_Rick

Support Specialist
Posts: 592
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Thu Jul 24, 2014 2:02 pm
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
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696

nishantmathur

Posts: 9
Joined: Thu May 15, 2014 10:47 am

Post by nishantmathur » Thu Jul 24, 2014 2:18 pm
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,

Support_Rick

Support Specialist
Posts: 592
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Thu Jul 24, 2014 3:41 pm
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
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
4 posts Page 1 of 1