Download a file from a server to a server

I have an application where a user can upload a file which is then sent to a third-party website and converted to a PDF. The PDF is then available at a URI on the third-party server. I’m wondering how I can grab that file and save it on the server where my application is running. It seems like if I use either ShowURL or HttpSocket and grab the file, it will download to the user’s computer rather than on the server where my app is running.

Use HTTPSocket to get the file from the other server and save it on your app’s host. http://documentation.xojo.com/index.php/HTTPSocket.Get

Thanks!