Powershell FTPScript SCP File

Welcome Forums General PowerShell Q&A Powershell FTPScript SCP File

Viewing 1 reply thread
  • Author
    • #252593
      Topics: 1
      Replies: 0
      Points: 11
      Rank: Member

      We currently have a scheduled task that runs a batch file, which then executes a .scp file on a 2016 Server.  With permission restrictions and the requirement of cmd being unsupported we need to validate if we can execute an .scp (WS_FTP) file. We need to have a powershell script be executed from scheduled tasks (as we have multiple tasks that run through the day).  Is it possible to run:     ftpscrpt -f \\PATH\PATH\FILE.scp

      The SCP file opens up WS_FTP and then runs the applicalbe script.


    • #252656
      Senior Moderator
      Topics: 9
      Replies: 1450
      Points: 5,434
      Helping Hand
      Rank: Community MVP

      You can run anything which runs in cmd.exe in PowerShell, PowerShell is just another shell but more powerful.

Viewing 1 reply thread
  • The topic ‘Powershell FTPScript SCP File’ is closed to new replies.