# Powershell FTPScript SCP File

**URL:** https://forums.powershell.org/t/powershell-ftpscript-scp-file/14862
**Category:** PowerShell Help
**Created:** [August 26, 2020, 4:47am UTC](https://forums.powershell.org/t/powershell-ftpscript-scp-file/14862 "2020-08-26T04:47:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hawks2020](https://avatars.discourse-cdn.com/v4/letter/h/58956e/32.png) [@hawks2020](https://forums.powershell.org/u/hawks2020)
#### Post date: [August 26, 2020, 4:47am UTC](https://forums.powershell.org/t/powershell-ftpscript-scp-file/14862/1 "2020-08-26T04:47:41Z")

</div>

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.

&nbsp;

---

<div class="post-metadata">

### Author: ![kvprasoon](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/kvprasoon/32/4449_2.png) [@kvprasoon](https://forums.powershell.org/u/kvprasoon)
#### Post date: [August 26, 2020, 7:50am UTC](https://forums.powershell.org/t/powershell-ftpscript-scp-file/14862/2 "2020-08-26T07:50:49Z")

</div>

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

---

<div class="post-metadata">

### Author: ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)
#### Post date: [May 16, 2024, 8:28pm UTC](https://forums.powershell.org/t/powershell-ftpscript-scp-file/14862/3 "2024-05-16T20:28:59Z")

</div>


