Useful Scripts
- Uploading a single file
- Upload to multiple servers / Parametrized script
- Downloading file to timestamped-filename
- Downloading the most recent file
- Uploading the most recent file
- Checking file existence
- Moving local files to different location after successful upload
- Locking files while uploading / Upload to temporary file name
- Downloading files from FTP/SFTP server only after “done” file is created
- Downloading all files from FTP/SFTP to the same local folder
- Uploading a list of files
- Shortcut to synchronize any local directory with remote directory
- Automatically compress files before download
- Custom directory listing format (CSV)
- Retrying script/connection attempt
- Formatting timestamp in batch file
- Emailing script results
- Running WinSCP from VB.NET
Advertisement
Other Examples
- Guide to scripting/automation;
- Guide to advanced scripting;
- See WinSCP .NET assembly examples for advanced tasks.