[Collapse]Automated Build Studio/viewarticle/9302/
 [Expand]Introduction/viewarticle/9304/
 [Expand]Getting Started/viewarticle/9312/
 [Expand]Working With Automated Build Studio/viewarticle/9325/
 [Collapse]Operations Reference/viewarticle/9623/
   Common Operation Properties/viewarticle/9386/
  [Expand].NET Tools/viewarticle/9933/
  [Expand]ADO/viewarticle/10368/
  [Expand]Amazon EC2/viewarticle/22737/
  [Expand]Archivers/viewarticle/9794/
  [Expand]Authenticode/viewarticle/10217/
  [Expand]Build Tools/viewarticle/10156/
  [Expand]Borland Compilers/viewarticle/9679/
  [Expand]Burn CD/DVD/viewarticle/10301/
  [Expand]Communication/viewarticle/10094/
  [Expand]Concurrent Versions System/viewarticle/9634/
  [Expand]Embarcadero Compilers/viewarticle/63530/
  [Expand]Encrypting File System/viewarticle/10352/
  [Expand]Execute/viewarticle/10365/
  [Expand]Files and Directories/viewarticle/10107/
  [Expand]Frequently Used/viewarticle/10195/
  [Collapse]FTP/viewarticle/10093/
    Connect to FTP Operation/viewarticle/10460/
    Create FTP Directory Operation/viewarticle/10462/
    Delete FTP File Operation/viewarticle/10465/
    Disconnect From FTP Operation/viewarticle/10461/
    Download File(s) From FTP Operation/viewarticle/10197/
    FTP File Enumerator Operation/viewarticle/10219/
    Get Current FTP Directory Operation/viewarticle/10470/
    Get FTP File Size Operation/viewarticle/10467/
    If FTP Directory Exists Operation/viewarticle/10180/
    If FTP File Exists Operation/viewarticle/10127/
    List Current FTP Directory Operation/viewarticle/10468/
    Remove FTP Directory Operation/viewarticle/10463/
    Rename FTP File Operation/viewarticle/10466/
    Set Current FTP Directory Operation/viewarticle/10464/
    Synchronize Directories Operation/viewarticle/10252/
    Up One Level Operation/viewarticle/10469/
    Upload File(s) to FTP Operation/viewarticle/9467/
  [Expand]Help Compilers/viewarticle/10109/
  [Expand]HTTP/viewarticle/10092/
  [Expand]Installers/viewarticle/9795/
  [Expand]Interactive/viewarticle/9504/
  [Expand]Internet Information Services (IIS)/viewarticle/9964/
  [Expand]Issue Tracking/viewarticle/9472/
  [Expand]JediVCS/viewarticle/9949/
  [Expand]Logging/viewarticle/10210/
  [Expand]Mercurial/viewarticle/10353/
  [Expand]Microsoft Compilers/viewarticle/9676/
  [Expand]Microsoft Compilers for Smart Device/viewarticle/9675/
  [Expand]Microsoft Hyper-V/viewarticle/42211/
  [Expand]Microsoft Source Server/viewarticle/10291/
  [Expand]Microsoft SQL Server/viewarticle/9882/
  [Expand]Microsoft Virtual PC/viewarticle/10015/
  [Expand]Microsoft Virtual Server/viewarticle/9508/
  [Expand]Microsoft Visual SourceSafe/viewarticle/9626/
  [Expand]Misc/viewarticle/10263/
  [Expand]MySQL/viewarticle/9885/
  [Expand]Oracle/viewarticle/10203/
  [Expand]Other Compilers/viewarticle/9677/
  [Expand]Patch Management/viewarticle/10167/
  [Expand]Perforce/viewarticle/9624/
  [Expand]Prepare Code/viewarticle/10134/
  [Expand]PsTools/viewarticle/9720/
  [Expand]PVCS/viewarticle/9632/
  [Expand]Rational ClearCase/viewarticle/9629/
  [Expand]Read/Write/viewarticle/10241/
  [Expand]Remote Macro Execution/viewarticle/9369/
  [Expand]Serena Dimensions/viewarticle/10364/
  [Expand]SmartBear and AutomatedQA Tools/viewarticle/10098/
  [Expand]Source Code Tools/viewarticle/10194/
  [Expand]SourceGear Vault/viewarticle/9625/
  [Expand]SourceOffSite/viewarticle/9633/
  [Expand]Standard/viewarticle/10212/
  [Expand]StarTeam/viewarticle/9622/
  [Expand]String Manipulation/viewarticle/10308/
  [Expand]Subversion/viewarticle/9628/
  [Expand]Surround SCM/viewarticle/9621/
  [Expand]Team Coherence/viewarticle/9471/
  [Expand]Team Foundation Version Control/viewarticle/9608/
  [Expand]Unit Tests/viewarticle/10115/
  [Expand]User Interface Actions/viewarticle/10346/
  [Expand]VMware Server/viewarticle/10008/
  [Expand]VMware vSphere/viewarticle/42215/
  [Expand]VMware Workstation/viewarticle/9913/
  [Expand]Wait/viewarticle/9994/
  [Expand]WMI/viewarticle/10136/
  [Expand]XML/viewarticle/9702/
 [Expand]Technical Support and Resources/viewarticle/9314/
 [Expand]Other Tools for Improving Your Build Processes/viewarticle/42205/
Updated: 1/9/2014 Applies To: Automated Build Studio 6 Rating: No votes Click to rate: PoorNot badAverageGoodExcellent
FTP Operations

Connect to FTP Operation

Use this operation to establish a connection to an FTP server.

Requirements

The operation does not have any special requirements.

Operation Properties

The operation properties are organized into the following pages:

Properties

This page contains properties common for all operations. For more information on them, see Properties That Are Common for All Operations.

Connect To FTP Details

Host Name

Server name or IP-address of the FTP server. For instance, ftp.ourwebsite.com.

Port

Port of the FTP server. The default value is 21.

User Name and Password

Your account name and password used to connect to the FTP server. The default user name is anonymous.

Use Passive Transfer

Specifies whether to use active or passive transfer mode. In active transfer mode, a connection is initiated by the FTP server while the FTP client (Automated Build Studio) listens to incoming TCP connections. In passive transfer mode, a connection is initiated by the FTP client (Automated Build Studio). Passive transfer mode may be used if the computer is behind a firewall or proxy server and cannot accept incoming TCP connections.

Use Proxy

Specifies whether you access the Internet via a proxy server. Turning this option on will enable the following properties:

Proxy Type

The type of the proxy server that should be used to access the Internet. The following values are available:

  • User Site
  • Site
  • Open
  • User Pass
  • Transparent
  • Socks4
  • Socks5
Active mode transfers through SOCKS proxy servers are possible only if the proxy server supports the BIND command. If your SOCKS proxy does not support BIND, use passive transfer mode.

Host Name and Port

Address and port of the proxy server. The default value for Port is 1080.

User Name and Password

Your account name and password on the proxy server.

Note that in any property on this page, where it is possible, you can either enter the desired value itself, or specify an existing variable or constant that holds this value. To specify the property values, you can also use the single-lined scripts.

Security

Do Not Use Secure Protocols

If this property is selected a secure protocol will not be used to access the Internet.

Automated Build Studio currently supports the FTPS (File Transfer Protocol over SSL) protocol, or you can use the SSL/TLS protocol (both Explicit and Implicit modes are supported). SFTP (SSH File Transfer Protocol) is not currently supported.

Use SSL

Select this property to use the SSL secure protocol to access the internet.

Version

Specifies the version of the SSL protocol. The available variants are 2.0 and 3.0.

Use SSL/TLS

Select this property to use the SSL/TLS secure protocol to access the internet.

Explicit TLS

If this property is selected the Explicit TLS mode of the SSL/TLS secure protocol will be used.

Implicit TLS

If this property is selected the Implicit TLS mode of the SSL/TLS secure protocol will be used.

TLS Support is Required

This property specifies what the operation does if server does not support the SSL/TLS connection. If the property is checked the operation fails, otherwise the operation does not use a secure protocol to access the internet.

Use The Clear Command Channel (CCC) Command

Check this property to send the Clear Command Channel command to the server after authentication. It means that SSL/TLS protocol is used only for authentication on the server. After authentication the secure protocol will not be used.

Server Authentication Certificate File

Specifies the name and path to the server authentication certificate file (.cer).

Verification Depth

Specifies the level of certificate chain to accept. 0 means the root server certificate is accepted.

Client Authentication Certificate File

Specifies the name and path to the client authentication certificate file (.pfx).

Private Key Password

The password used for authentication on the specified server.

Note that in any property on this page, where it is possible, you can either enter the desired value itself, or specify an existing variable or constant that holds this value. To specify the property values, you can also use the single-lined scripts.

Remarks

You can use variables and constants to set values of operation properties. When specifying the variable (or constant) name, enclose it in the % symbols, for instance, %VariableName%. See Using Variables and Constants in Operation Properties.

To finish working with the FTP server, close the connection: execute the Disconnect From FTP operation. If you do not do so, the connection will be closed automatically at the end of the macro execution.

The macro execution engine only allows one live FTP connection per thread (that can be an operation or a group of operations). That is, a macro with a serial execution path uses a single connection for all operations that interact with an FTP server. If you execute the Connect to FTP operation while a connection established by another Connect to FTP operation is still live, the existing connection will be closed permanently and the new one will be established. In a macro with concurrently executed operations, each thread uses a separate FTP connection. So, each concurrent group that contains operations that interact with an FTP server must have its own Connect to FTP operation. For more information or running macro operations concurrently, see Concurrent Execution of Operations.

See also
FTP Operations | Disconnect From FTP Operation | Concurrent Execution of Operations | Specifying Operation Properties


© 2014 SmartBear Software. All rights reserved.
Email Send feedback on this document