Download FCE Reference Manual (all languages)
Transcript
2.36 fceSetString Sets string parameter for FTP processing. SYNTAX fceSetString(Channel, ParamName, ParamPtr) Channel : (I) Channel number. ParamName : (I) Parameter name. ParamPtr : (P) Parameter string. REMARKS The fceSetString function sets the string parameter 'ParamName' to 'ParamPtr'. FCE_SET_LOG_FILE is used to specify the log file name. Log files can be quite large, so use only when necessary. FCE_WRITE_TO_LOG is used to write a string (message) to log file. FCE_BIND_TO_LOCAL_IP is used to bind the control port to the specified local IP address. RETURNS Return < 0 : An error has occurred. Call fceErrorText. EXAMPLES See the WINFTP example program. C/C++ Example // open LOG file fceSetString(0, FCE_SET_LOG_FILE, "program.log"); BASIC Example ' open LOG file Code = fceSetString(0, FCE_SET_LOG_FILE, "program.log") ALSO SEE fceSetInteger 43