1,154
edits
No edit summary |
(Added extra details about creating the text script and calling batch file) |
||
*change /remotepath to the remote path on the web server (as seen when you SFTP to the web site)
Save the commands in a text file, let's use the filename "C:\Cumulus\sftp-cmds.txt" as an example.
Now create a batch file with the following contents:
winscp.com /script=c:\cumulus\sftp-cmds.txt
After creating the batch file with the commands in it, configure Cumulus to call it at each web update interval (using the 'external program' settings on the Internet Settings screen). If you don't supply an ftp host name to Cumulus, it will create the updated web files locally but not attempt to ftp them itself.▼
Save this batch file, let's use the file name "C:\cumulus\sftp.bat" as an example.
▲After creating the batch file
If you don't supply an ftp host name to Cumulus, it will create the updated web files locally but not attempt to ftp them itself.
Note that there are (at least) two different secure FTP protocols, SFTP (SSH FTP) and FTPS (FTP over SSL). WinSCP supports both, but you'll need to make sure you're using the correct one for your server.
|