FTPit Pro

Transfer files to and from an FTP server

<- Back to FTPit Pro function list

FTPit_DownloadText

Description

This function works like the FTPit_DownloadFile function, except instead of downloading the file to the hard drive, it returns the file data to the field/variable you are setting. You should only use this function to download text files. If you attempt to download a file that has binary data in it instead of plain text data, the results are undefined. Most likely you will not get anything at all.

Return Type
Text
Format
FTPit_DownloadText ( RemoteFile ; CompletedScript )
Required Parameters
  • RemoteFile

    The Remote File to Download Text from. (Can be a Full Path, a Relative Path, or a File Name in the Current Remote Directory.)

Optional Parameters
  • CompletedScript

    The Name of a Script to call when the Download is Completed. (If blank, this function will wait until the Download is Complete before returning; Default is blank.)

Related Items
FTPit_ChangeLocalDir, FTPit_ChangeLocalDirUp, FTPit_ChangeRemoteDir, FTPit_ChangeRemoteDirUp, FTPit_UploadText