Difference between revisions of "Unit FTP"
From Ultibo.org
								
												
				| (7 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
----  | ----  | ||
| − | '''Ultibo FTP   | + | '''Ultibo FTP Interface unit'''  | 
| − | + | ||
| − | + | ||
=== Constants ===  | === Constants ===  | ||
----  | ----  | ||
| + | |||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | ||
| − | <div style="font-size: 14px; padding-left: 12px;">'''FTP logging''' <code>   | + | <div style="font-size: 14px; padding-left: 12px;">'''FTP logging''' <code> FTP_LOG_* </code></div>  | 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
|-  | |-  | ||
| − | | <code>FTP_LOG_LEVEL_DEBUG = LOG_LEVEL_DEBUG;   | + | | <code>FTP_LOG_LEVEL_DEBUG = LOG_LEVEL_DEBUG;</code>  | 
| − | |   | + | | FTP debugging messages  | 
|-  | |-  | ||
| − | | <code>FTP_LOG_LEVEL_INFO = LOG_LEVEL_INFO;   | + | | <code>FTP_LOG_LEVEL_INFO = LOG_LEVEL_INFO;</code>  | 
| FTP informational messages  | | FTP informational messages  | ||
|-  | |-  | ||
| − | | <code>FTP_LOG_LEVEL_WARN = LOG_LEVEL_WARN;   | + | | <code>FTP_LOG_LEVEL_WARN = LOG_LEVEL_WARN;</code>  | 
| FTP warning messages  | | FTP warning messages  | ||
|-  | |-  | ||
| − | | <code>FTP_LOG_LEVEL_ERROR = LOG_LEVEL_ERROR;   | + | | <code>FTP_LOG_LEVEL_ERROR = LOG_LEVEL_ERROR;</code>  | 
| FTP error messages  | | FTP error messages  | ||
|-  | |-  | ||
| Line 34: | Line 33: | ||
|}  | |}  | ||
</div></div>  | </div></div>  | ||
| − | <br />    | + | <br />  | 
=== Type definitions ===  | === Type definitions ===  | ||
| Line 43: | Line 42: | ||
=== Public variables ===  | === Public variables ===  | ||
----  | ----  | ||
| + | |||
'''FTP logging'''  | '''FTP logging'''  | ||
| Line 62: | Line 62: | ||
=== Function declarations ===  | === Function declarations ===  | ||
----  | ----  | ||
| + | |||
'''Initialization functions'''  | '''Initialization functions'''  | ||
| Line 71: | Line 72: | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
|-  | |-  | ||
| − | !   | + | ! Note  | 
| None documented  | | None documented  | ||
|-  | |-  | ||
| Line 86: | Line 87: | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
|-  | |-  | ||
| − | !   | + | ! Note  | 
| None documented  | | None documented  | ||
|-  | |-  | ||
| Line 98: | Line 99: | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
|-  | |-  | ||
| − | !   | + | ! Note  | 
| None documented  | | None documented  | ||
|-  | |-  | ||
| Line 110: | Line 111: | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
|-  | |-  | ||
| − | !   | + | ! Note  | 
| None documented  | | None documented  | ||
|-  | |-  | ||
| Line 122: | Line 123: | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
|-  | |-  | ||
| − | !   | + | ! Note  | 
| None documented  | | None documented  | ||
|-  | |-  | ||
| Line 134: | Line 135: | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
|-  | |-  | ||
| − | !   | + | ! Note  | 
| None documented  | | None documented  | ||
|-  | |-  | ||
| Line 140: | Line 141: | ||
</div></div>  | </div></div>  | ||
<br />  | <br />  | ||
| − | |||
Return to [[Unit_Reference|Unit Reference]]  | Return to [[Unit_Reference|Unit Reference]]  | ||
Latest revision as of 05:21, 31 August 2021
Return to Unit Reference
Description
Ultibo FTP Interface unit
Constants
FTP logging 
 FTP_LOG_*  FTP_LOG_LEVEL_DEBUG = LOG_LEVEL_DEBUG;
 | 
FTP debugging messages | 
 FTP_LOG_LEVEL_INFO = LOG_LEVEL_INFO;
 | 
FTP informational messages | 
 FTP_LOG_LEVEL_WARN = LOG_LEVEL_WARN;
 | 
FTP warning messages | 
 FTP_LOG_LEVEL_ERROR = LOG_LEVEL_ERROR;
 | 
FTP error messages | 
 FTP_LOG_LEVEL_NONE = LOG_LEVEL_NONE;
 | 
No FTP messages | 
Type definitions
None defined
Public variables
FTP logging
 FTP_DEFAULT_LOG_LEVEL:LongWord = FTP_LOG_LEVEL_DEBUG;
 | 
Minimum level for FTP messages. Only messages with level greater than or equal to this will be printed. | 
 FTP_LOG_ENABLED:Boolean;
 | 
Function declarations
Initialization functions
procedure FTPInit;
Description: To be documented
| Note | None documented | 
|---|
FTP helper functions
procedure FTPLog(Level:LongWord; const AText:String);
Description: To be documented
| Note | None documented | 
|---|
procedure FTPLogInfo(const AText:String); inline;
Description: To be documented
| Note | None documented | 
|---|
procedure FTPLogWarn(const AText:String); inline;
Description: To be documented
| Note | None documented | 
|---|
procedure FTPLogError(const AText:String); inline;
Description: To be documented
| Note | None documented | 
|---|
procedure FTPLogDebug(const AText:String); inline;
Description: To be documented
| Note | None documented | 
|---|
Return to Unit Reference