Resources

Knowledge Base

IT Automation. PowerShell. Get Public FTP File

PowerShell_Command

 

Task

This sample exemplifies how to actually invoke a script that connects data and executes multiple commands.

Steps to automate

  1. Invoke a script that connects to a public FTP server.
  2. Get a file from that server.

Solution

  1. Connect to FTP server using "Invoke Power Shell". The script automatically gets the file.
  2. Use a "Read Text File" and a "Write line" activity to display in the output panel the content of the file downloaded.

getFTP