<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > FTP (File Transfer Profotol) > FTP_SetLogFile |
Description
Set a FTP session log file to be used for FTP session debugging.
Syntax
n = FTP_SetLogFile(LogFile)
Returns
Number
A value < 0 indicates an error. Use FTP_GetErrorString to get info about the error
Parameters
Name |
Type |
Optional |
Meaning |
LogFile |
String |
No |
Full path name of a FTP session log file |
Remarks
If set, all FTP steps will be logged into the specified file. This is especially useful in case of connection problems.
Restrictions
See also
Examples