Error getting tags :
error 404Error getting tags :
error 404 libURLSetFTPMode | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
libURLSetFTPMode
Basics
Expander triangle
Type
Command
Syntax
libURLSetFTPMode {"active" | "passive"}
Introduced
1.1.1
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Network
Summary
Switches between active and passive mode for FTP transfers.
Examples

libURLSetFTPMode "passive"
libURLSetFTPMode (the hilitedButtonName of group "Mode")

Additional Comments
Expander triangle

Use the libURLSetFTPMode command to improve performance with FTP servers that require active mode.

Comments:

For most FTP servers, passive transfer mode will work without a problem. However, a few servers require transfers to be made in active mode. If you are having trouble with ftp commands with a particular server, try setting the mode to "active".

The FTP mode is set to passive when the application starts up. To use active mode exclusively, execute the following statement before making any ftp transfers:

libURLSetFTPMode "active"

Important! The libURLSetFTPModecommand is part of the Internet library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions section of the Standalone Application Settings window, make sure "Internet Library" is selected in the list of script libraries.

Note: When included in a standalone application, the Internet library is implemented as a hidden group and made available when the group receives its first openBackground message. During the first part of the application's startup process, before this message is sent, the libURLSetFTPModecommand is not yet available. This may affect attempts to use this command in startup, preOpenStack, openStack, or preOpenCardhandlers in the main stack. Once the application has finished starting up, the library is available and the libURLSetFTPModecommand can be used in any handler.

User Comments
Expander triangle