Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SOAVIRT_9.10.4_CTP_3.1.1

This topic explains how to create an FTP Client tool, which is used to connect to a FTP server in order to put or get files.

Sections include:

Table of Contents
maxLevel1

Understanding FTP Client

The FTP Client is designed to provide basic FTP functionality as a 

Conditional Content
Product: (SOAVirt)
Product: (SOAVirt)
sv-attr:0A010204015A9054C88481D043445E2F0A010204015CF6008A11EEF43AC91334

SOAtest or Virtualize

 tool. Both FTP and SFTP (Secure FTP) are supported.

Configuring FTP Client

You can customize the following options:

  • Protocol: Choose the desired protocol (either FTP or SFTP). In SFTP mode, all transfers are in Binary format.
  • Host, Port, Username, Password: Specify the connection settings. These can be parameterized (using values from a data source added to your suite), or you can use environment variables in Literal Mode.
  • Local Folder: Specify the path on your local machine where downloaded files should be saved and uploaded files can be found.
  • Transfer Mode: Specify the transfer mode to use. If binary files will be transferred, use Binary. Otherwise, use ASCII (default).
  • Timeout: Specify the number of seconds that 

    Conditional Content
    Product: (SOAVirt)
    Product: (SOAVirt)
    sv-attr:0A010204015A9054C88481D043445E2F0A010204015CF6008A11EEF43AC91334

    SOAtest or Virtualize

     will wait after attempting to send or receive data before terminating the connection.

  • Commands table: Specify the commands that you want the FTP Client to perform, in the order in which you want them performed. Available commands include:
    • pwd - Print working directory.
    • ls - List directory
    • cd - Change directory
    • mkdir - Make a directory
    • rmdir - Delete a directory
    • rm - Delete a file
    • put - Upload a file
    • get - Download a file

Viewing Traffic

To view the traffic log from the FTP Server, you can attach tools to the FTP Client. For example, adding an Edit tool will let you view the traffic.