Establish FTP Connection
Function Description
TIP
Create a file server connection and return the connection object
Configuration Item Description
General
Command Input
Server Type
Integer
: The server type of the connection object to be createdFTP Address
string
: The FTP server addressFTP Port
Integer
: The FTP server portEnable Active Mode
Boolean
: Passive mode is usually recommended for FTP. If the FTP server is configured to support only active mode or if the server's network configuration does not allow passive mode data connections, then the client should use active mode.Connection Type
Integer
: The method for connecting to the remote server. The default is password-based connection.Username
string
: The username for connecting to the FTP serverPassword
string
: The password for connecting to the FTP serverKey File
string
: The key file for connecting to the server
Command Output
- Save FTP Connection Object to
TFTP
: Specify a variable name to store the FTP connection object
Advanced
Delay Before(milliseconds)
Integer
: The waiting time before instruction executionConnection Timeout (ms)
Integer
: Enter the connection timeout in milliseconds
Error Handling
Print Error Logs
Boolean
: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.Handling Method
Integer
:Terminate Process: If the command fails, terminate the process.
Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.
Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.
Usage Example
Process logic description:
Common Errors and Handling
None
Frequently Asked Questions
None