PowerShell Module Wrapper for WinSCP.
WinSCP is a popular free SFTP and FTP client for Windows, a powerful file manager that will improve your productivity. It supports also Amazon S3, FTPS, SCP and WebDAV protocols. Power users can automate WinSCP using.NET assembly. Sessions filter Shortcuts for pre-defined command The session launcher Automatic logon script URL hyperlinks Running a locally saved script on a remote session Send to tray Transparency Quick start of a duplicate session SSH Handler: Internet Explorer integration pscp.exe and WinSCP integration New command-line options See More. Oct 16, 2020 WinSCP is a popular free SFTP and FTP client for Windows. Moreover, WinSCP is a powerful multi-functional tool that will improve your productivity. WinSCP can copy files between a local and remote.
Minimum PowerShell version
4.0
Installation Options
Copy and Paste the following command to install this package using PowerShellGet More Info
You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More
Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More
Author(s)
Thomas J. Malkewitz @dotps1
Copyright
(c) 2018 Thomas J. Malkewitz @dotps1. All rights reserved. Licensed with GNU GENERAL PUBLIC LICENSE.
Package Details
Owners
Tags
Functions
Dependencies
This module has no dependencies.
Winscp Portable
Release Notes
Merge branch 'master' of https://github.com/dotps1/WinSCP
FileList
- WinSCP.nuspec
- binWinSCP.exe
- libWinSCPnet.dll
Version History
Version | Downloads | Last updated |
---|---|---|
5.17.10.0 | 74,893 | 2/24/2021 |
5.17.8.1 | 18,018 | 11/11/2020 |
5.17.7.0 | 6,851 | 8/24/2020 |
5.17.5.3 | 11,144 | 5/7/2020 |
5.17.2.0 | 8,524 | 3/30/2020 |
5.15.9.0 | 12,259 | 12/10/2019 |
5.15.5.0 | 4,784 | 10/30/2019 |
5.15.4.0 | 3,113 | 9/27/2019 |
5.15.3.0 | 4,453 | 8/6/2019 |
5.15.2.0 | 5,041 | 6/7/2019 |
5.15.1.0 | 21,699 | 5/9/2019 |
5.13.9.1 | 19,717 | 3/21/2019 |
5.13.8.0 | 7,334 | 3/15/2019 |
5.13.7.0 (current version) | 79,864 | 1/14/2019 |
5.13.6.1 | 14,336 | 12/22/2018 |
5.13.6.0 | 6,389 | 12/13/2018 |
5.13.4.1 | 2,677 | 11/9/2018 |
5.13.4.0 | 11,824 | 9/7/2018 |
5.13.3.0 | 5,560 | 6/21/2018 |
5.13.2.0 | 2,504 | 5/14/2018 |
5.13.1.2 | 2,572 | 4/2/2018 |
5.13.1.1 | 81 | 3/29/2018 |
5.13.1.0 | 112 | 3/29/2018 |
5.13.0.26 | 48 | 3/28/2018 |
5.13.0.9 | 85 | 3/26/2018 |
5.11.2.1 | 3,183 | 10/24/2017 |
5.11.2.0 | 834 | 10/12/2017 |
5.11.1.1 | 88,424 | 9/15/2017 |
5.11.1.0 | 346 | 9/11/2017 |
5.11.0.3 | 57 | 9/7/2017 |
5.11.0.1 | 23 | 9/7/2017 |
5.11.0.0 | 25 | 9/6/2017 |
5.9.6.0 | 1,298 | 6/21/2017 |
5.9.5.6 | 650 | 5/12/2017 |
5.9.5.0 | 306 | 4/26/2017 |
5.9.4.5 | 817 | 2/23/2017 |
5.9.3.2 | 439 | 1/12/2017 |
5.9.3.1 | 347 | 12/10/2016 |
5.9.2.5 | 765 | 9/14/2016 |
5.9.1.5 | 377 | 8/13/2016 |
5.7.7.15 | 613 | 5/26/2016 |
This WinSCP script will automatically upload all files from your local folder up to your server, while deleting any files in the server’s directory ( remote directory ) that do not exist in your local folder. In other words, it will sync your server with what is in your local directory.
Winscp Portable
This is useful if you use Notepad++ with the NppFTP plugin to publish your website’s files to your server. This is a quicker way to sync your server with what is in your local folder, since the NppFTP only seems to let you upload one file at a time.
The following script goes into a regular text file. Name it whatever you like, but give it the .txt
extension.
Before using this script, please note, again, this script will make the folder on the server match your local folder exactly — it deletes any files in the server’s folder that are not in your local folder. If you want to only upload/sync your existing local files without deleting any files from the server, then remove the “-delete” from the lines below that begin with “synchronize remote -delete“.
Make the following changes to the script.
- Change “FTP_USERNAME” on line 10 to your own FTP username. Be careful to leave the colon (:) in place.
- Change “FTP_PASSWORD” on line 10 to your own FTP password. Be careful to leave the @ symbol in place.
- Change “FTP_DOMAIN.COM” on line 10 to your own FTP domain.
- Change “ssh-dss 1024 ##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##” on line 10 to your host key. (To obtain your host key, you’ll have to first connect to your server using the regular WinSCP console, then click on “Commands -> Server/protocol Information”, then see the “Server Host key Fingerprint” box. Copy your host key from there and paste it into this script. Then you can log out of WinSCP.)
- On line 14, change
C:localpathtoyoursitefolder
to the location of your local folder on your computer. - On line 14, change
/home/content/remote/path/to/your/live/site/on/server/
to the path of your remote folder on your server.
Winscp For Mac
Add More
You can sync more than one folder in the script. For example, the following script syncs 4 different folders:
Download Winscp For Windows
To run the script, see How To Run a WinSCP script from Windows Command Line.