Advanced FTP
Purpose: |
Send an FTP command directly to a server. This is action is intended for the execution of FTP commands not directly supported by this plug-in. |
Category: |
Advanced FTP |
Syntax: |
fmSendFTPCommand "connection id" "command" "variable" connection id The name assigned to the remote FTP connection you want to send the command to. The connection must have already been opened with fmConnectRemote. (This command cannot be used with local connections.) command The FTP command to be executed. The command will be passed to the server exactly as entered here without modification. variable The name of the variable to store the server's response (if any). The response depends entirely on the command and the type of server. |
Example: |
fmSendFTPCommand "Remote1" "STAT" "[Result]" AlertBox "FTP" "The server says:||[Result]" |
Purpose: |
Set the default transfer mode for data over a remote/FTP connection. This specifies the mode used when downloading or uploading files. |
||||||
Category: |
Advanced FTP |
||||||
Syntax: |
fmSetDefaultTransferMode "mode" mode The default transfer mode. This may be one of the following:
|
||||||
Example: |
fmSetDefaultTransferMode "Auto" |
Purpose: |
Add one or more extension to the ASCII file classification list. This is used to determine the proper transfer mode when fmSetDefaultTransferMode is set to "Auto". Files with extensions matching those in this list will be classified as ASCII. Files with extensions not in this list will be classified as Binary. Note: At startup, the ASCII file list contains the following extensions: txt, htm, html, xml, css, asp, vbs, js, cgi, pl, php, php3, cf, svg, rtf, ps, c, cpp, h, pas, bas, tex, htaccess, xtml, cfg, ini and sh. |
Category: |
Advanced FTP |
Syntax: |
fmAddASCIIFileTypes "extension list" extension list One or more file extensions separated by semicolons (;) to be added to the ASCII file classification list. Attempting to add an extension already in the list wil not cause an error. |
Example: |
fmAddASCIIFileTypes "asc;ini;dat" |
Purpose: |
Remove one or more extensions from the ASCII file classification list. |
Category: |
Advanced FTP |
Syntax: |
fmRemoveASCIIFileTypes "extension list" extension list One or more file extensions separated by semicolons (;) to be removed from the ASCII file classification list. Attempting to remove an extension not in the list will not cause an error. |
Example: |
fmRemoveASCIIFileTypes "asc;ini;dat" |
Purpose: |
Copy a list of all extensions in the ASCII file classification list to a variable. |
Category: |
Advanced FTP |
Syntax: |
fmGetASCIIFileTypes "variable" variable The name of the variable where the list of extensions will be stored. Multiple extensions will be separated by the global delimiter. |
Example: |
fmGetASCIIFileTypes "[ASCIIExts]" |