You can use the Imagenation API to upload and download Internet files.
To download a file from the Internet:
· Use the InternetFileDownload transaction.
This transaction uses FTP protocol, and generally only requires that you have Web access. If the file that you have downloaded is supported in Imagenation, you can view it there. However, no check is done on the file format to make sure that it is supported.
Downloaded files are stored in a local folder, called Spicer, under the system temporary folder. You should move any files that you want to keep to a different location.
To clear all files from the temporary directory:
· Use the FlushDownloadDirectory transaction.
If you have access, you can place a file onto an Internet Web site through FTP protocol.
To upload a file to a Web site:
· Use the InternetFileUpload transaction.
This procedure requires that you have a valid user ID and password.
See also