This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Sets an FTP numeric parameter value.
Syntax
n = FTP_SetNumber(lWhat, lValue)
Returns
Number
Return < 0 : An error has occurred. Call FTP_GetErrorStrin(n).
Parameters
Name |
Type |
Optional |
Meaning |
lWhat |
Numeric |
No |
One of the following equates: %FTP_SET_PASSIVE sets passive mode on (1) and off (0).
%FTP_SET_CONNECT_WAIT is the maximum time in milliseconds allowed to complete a connection to the FTP server. Default is 60000
%FTP_SET_MAX_RESPONSE_WAIT is the time in milliseconds after which a "time out" error occurs if the server has not responded. Default is 10000
%FTP_SET_MAX_LISTEN_WAIT is the time in milliseconds after which a "time out" error is declared while waiting for a data port "Listen" to complete. Default is 25000
%FTP_SET_DATA_PORT specifies the port number to use (in non-passive mode) for the next list or file transfer command. Default is none
%FTP_SET_FTP_PORT is the port number to use when connecting to the FTP server. The default is the well-known port number 21.
|
lValue |
Numeric |
No |
The value to assign |
Remarks
Restrictions
See also
Examples