|

Message


(string) Either a blank string ("") or an information message being sent by the server, such as "Resolving host name" or "Connecting to Server."


image

Note: If this parameter is not a blank string, it means that it is in a busy state, either before the download has begun, or at the end of the download. In this case all other parameters will be ignored.


The callback function should return a boolean value (true or false) indicating whether the download should continue:



VALUE DESCRIPTION


true


Continue with the file download.


false


Stop the file download as soon as possible.


Re t u r n s


Nothing. You can use Application.GetLastError to determine whether this action failed, and why.


See also: Related Actions


image

image

FTPWI.GetErrorInfo

OverviewExamples

table FTPWI.GetErrorInfo ( )


De s cr ip t ion


Retrieves FTP specific information about the last error that occurred.


For example, if you perform an FTPWI.Download and an error occurs, you can use this action to retrieve FTP information about that error.


P arame t er s


None.


Re t u r n s


(table) A table containing the FTP error information indexed by the following keys:



KEY


TYPE DESCRIPTION


Number


number


The WinInet error code.


Message


string


The WinInet error string associated with the error code.

You can use Application.GetLastError to determine whether this action failed, and why.


|