Powershell FTPScript SCP File

Welcome Forums General PowerShell Q&A Powershell FTPScript SCP File

Viewing 1 reply thread
  • Author
    Posts
    • #252593
      Participant
      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: 1311
      Points: 4,794
      Helping Hand
      Rank: Community Hero

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

Viewing 1 reply thread
  • You must be logged in to reply to this topic.