Example: IN_FtpFileDownload

 

#define MAX_SIZE 500

 

char lpszString[MAX_SIZE];

 

/* Download a zip file from the Spicer Web site */

if ( ( nError = IN_FtpFileDownload( "ftp.spicer.com", "", "", 0, "var_si/50/32OLE_API.zip", MAX_SIZE, lpszString ) ) != IN_SUCCESS )

 {

  ErrorHandler( nError, "Error message:" );

 }