Check File Existence in FTP

by Voodoo Editor
3 years ago
930 Views

Table of Contents


    FTP : File Exists

    It is the expression step under FTP Option, which is among the Expression Steps.
    Expression Step -> Action -> Expression Group -> FTP
    Expression -> File Exists

    In Scenario, if you want to check if the file exists on an FTP server with FTP Protocol, use this statement step.

  • General Information
  • Parameter Description
    Name The name of application execution step. (Compulsory)
    Description The description of application execution step. (Not Compulsory)
  • Region
  • Parameter Description
    Related Flow Image The using image during this step. (Compulsory)
  • Action
  • Parameter Description
    Expression Type There are two options, Structural and Free.
    Structural : It uses the prepared expression script.
    Free : Allows you to customize the existing expression script
    Expression Group : FTP This is the part where you can apply all the expression steps related to FTP.
    Expression File Exists
  • Expression Parameters
  • Parameter Description
    Host Name Parameter It is the host name parameter of the FTP server to check whether the relevant file exists on the FTP Server.
    Data Source : Takes the host name from the Data Source.

    strong>Constant : Takes the host name from the user statically.
    Scenario Parameter : Takes the host name from the parameter coming from the scenario during the scenario operation.

    Port Number Parameter It is the port number parameter of the FTP server to check whether the relevant file exists on the FTP Server.
    Data Source : It gets the port number from the Data Source.
    Constant : Takes the port number from the user statically.
    Scenario Parameter : Takes the port number from the parameter coming from the scenario during the scenario operation.
    Username Parameter It is the username information parameter of the FTP server to check whether the relevant file exists on the FTP Server.
    Data Source : It takes the username from the Data Source.
    Constant : Takes the username from the user statically.
    Scenario Parameter : Takes the username from the parameter coming from the scenario during the scenario operation.
    Password Parameter This is the password information parameter of the FTP server to check whether the relevant file exists on the FTP Server.
    Data Source : It gets the password information from the Data Source.

    strong>Constant : Get the password information from the user statically.
    Scenario Parameter : Get the password information from the parameter coming from the scenario during the scenario operation.

    Folder Path Parameter It is the file path parameter of the FTP server to check whether the relevant file exists on the FTP Server.
    Data Source : It gets the file path from the Data Source.
    Constant : Get the file path from the user statically.
    Scenario Parameter : Get the file path from the parameter from the scenario during the scenario operation.
    File Name Parameter It is the filename parameter of the FTP server to check whether the relevant file exists on the FTP Server.
    Data Source : Takes the file name from the Data Source.

    strong>Constant : Takes the file name from the user statically.
    Scenario Parameter : Takes the file name from the parameter coming from the scenario during the scenario operation.

  • Time Settings
  • Parameter Description
    Maximum Step Completion Time The time to the end of completion for step if Run to The End of Completion of Application style is chosen. (Compulsory)
    Wait Time After Execution Request The wait time to pass next step. (Compulsory)
  • Scenario Flow
  • Parameter Description
    Step Flow Indicates the step flow type. (Compulsory)

    Ordered The flow type to continue sequentially.
    Conditional The flow type to continue conditionally.

    • On Success
    • This step turns to another step on success. You can choose End to terminate the scenario step.

    • On Fail
    • This step turns to another step on fail. You can choose End to terminate the scenario step.