SFTP

Hi
My club has moved their website to a new server, we can only have sftp access for uploading to the website, is this possible with Sailwave, as we use ftp.
Regards
Ian

Yes - i will send you a sample script from the computer

···

-------- Original message --------

From: “Ian Payne Ian.Payne@btinternet.com [sailwave]” sailwave@yahoogroups.com

Date: 18/03/2019 21:07 (GMT+08:00)

To: sailwave@yahoogroups.com

Subject: [sailwave] SFTP

Hi
My club has moved their website to a new server, we can only have sftp access for uploading to the website, is this possible with Sailwave, as we use ftp.
Regards
Ian

Download and install winscp.

Create a folder for your sftp scripts.

In that folder, create one .cmd file, i.e. „sftp_put.cmd“

cd %path_to_your_sftp_scripts_folder

set arg1=%1

set arg2=%2

“C:\Program Files (x86)\WinSCP\WinSCP.com” /script=sftp_put.script /parameter %arg2% %arg1%

Create one .script, i.e. „sftp_put.script“

open sftp://USERNAME:PASSWORD@HOSTNAME:YOUR_SFTP_PORT/

put %1% /FULL_PATH_TO_THE_LOCATION_FOR_YOUR_HTML_FILE_ON_YOUR_SERVER%2%

In sailwave, go to publish -> results -> next -> select destination: an installed application and in the path to the application add the full path to your .cmd script – space – name of your html file.

For example:

C:\Users\YOUR_USERNAME\Documents\sailwave\webpublish\sftp_put.cmd my_web_file.htm

Hope that helps :blush:

Cheers,

Markus

···

Von: sailwave@yahoogroups.com sailwave@yahoogroups.com
Gesendet: Montag, 18. März 2019 15:08
An: sailwave@yahoogroups.com
Betreff: [sailwave] SFTP

Hi
My club has moved their website to a new server, we can only have sftp access for uploading to the website, is this possible with Sailwave, as we use ftp.
Regards
Ian

Hi Ian,
Yes, you can upload using STFP you just need to set it to publish to an external application and set this to be something that handles the SFTP.

If you search this forum there are some solutions already been published.

If you get stuck come back.

Jon

···

Jon Eskdale
07530 112233

Skype “eskdale”

Thank you

I will have a look

Hi Ian,
Yes, you can upload using STFP you just need to set it to publish to an external application and set this to be something that handles the SFTP.

If you search this forum there are some solutions already been published.

If you get stuck come back.

Jon

···

Jon Eskdale
07530 112233

Skype “eskdale”

Thanks Markus will give it a go