Secure FTP (sFTP)

Can you confirm if Sailwave supports secure FTP (sFTP). My initial investigations suggest not…

I tried to use sFTP settings for a sailing club site yesterday but Sailwave wouldn’t play.

If I am right and sFTP is not an option are there any plans to add it? My experience is that more and more good web hosts are these days moving to sFTP only as FTP is too vulnerable.

···

sailwave uses the
wininet windows api library - which i dont think does sftp. i’m
open to suggestions.

  On 17/07/2012 09:59, Jonathan wrote:

Cheers,

    Colin J

http://sailwave.com

            Can you confirm if Sailwave

supports secure FTP (sFTP). My initial
investigations suggest not…

            I tried to use sFTP settings for a

sailing club site yesterday but Sailwave wouldn’t play.

            If I am right and sFTP is not an

option are there any plans to add it? My experience is
that more and more good web hosts are these days moving
to sFTP only as FTP is too vulnerable.

    No virus

found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2178 / Virus Database: 2437/5135 - Release Date:
07/16/12

Jonathan - The immediate solution is to publish to a file and then use a free ftp program that supports the sftp to transfer the file. I use Core Ftp Lite.

Colin - I’m sure you are correct. I’m not aware of any free libraries that support the sftp. The SocketTools Library edition from Catalyst http://www.catalyst.com/products/sockettools/index.html would do the job but its not cheap!! We have used their products in the past. I think there is a free one for .Net but that wouldn’t be really suitable for use with Sailwave.

Jon

Hi Colin,

Did find this one that is free - Libcurl - may be of use

Jon

···

— In sailwave@yahoogroups.com, “JON” <jon@…> wrote:

Jonathan - The immediate solution is to publish to a file and then use a
free ftp program that supports the sftp to transfer the file. I use
Core Ftp Lite.
Colin - I’m sure you are correct. I’m not aware of any free libraries
that support the sftp. The SocketTools Library edition from Catalyst
http://www.catalyst.com/products/sockettools/index.html
http://www.catalyst.com/products/sockettools/index.html would do the
job but its not cheap!! We have used their products in the past. I
think there is a free one for .Net but that wouldn’t be really suitable
for use with Sailwave.
Jon

OK, thanks. It's good to know a definitive answer.

FYI: I found this on Stack Overflow which confirms your view: http://stackoverflow.com/questions/1881122/c-how-to-communicate-with-sftp-server

Thanks, Jon. That's what I plan to do. It was just useful to know definitively from the source if there was a way to circumvent a manual workaround.

Thanks for your help.

···

--- In sailwave@yahoogroups.com, "JON" <jon@...> wrote:

Jonathan - The immediate solution is to publish to a file and then use a
free ftp program that supports the sftp to transfer the file. I use
Core Ftp Lite.
Colin - I'm sure you are correct. I'm not aware of any free libraries
that support the sftp. The SocketTools Library edition from Catalyst
http://www.catalyst.com/products/sockettools/index.html
<http://www.catalyst.com/products/sockettools/index.html> would do the
job but its not cheap!! We have used their products in the past. I
think there is a free one for .Net but that wouldn't be really suitable
for use with Sailwave.
Jon

Jon,

We’ve just started using Sailwave and I wondered if there’s any chance of progress on building SFTP support in yet?

Regards

Peter

Bough Beech SC

Hi Peter,

I would be interested in what users would like to see in terms of upload to decide what is worthwhile developing but there are a few versions of secure ftp. sftp is not really very secure as it sends the username and password in the clear as I understand from when I looked at it a few years ago. There is a good discussion here http://security.stackexchange.com/questions/23124/good-practices-to-secure-ftp-access

You can of course always save to a disk file on the local PC and then use one of the many ftp programs. I personally use the Core FTP LE which is free and well featured.

Jon

···

On 6 June 2015 at 22:54, peter@thecannons.me.uk [sailwave] sailwave@yahoogroups.com wrote:

Jon,

We’ve just started using Sailwave and I wondered if there’s any chance of progress on building SFTP support in yet?

Regards

Peter

Bough Beech SC

Jon Eskdale
07976 709777

Skype “eskdale”

Hi Jon, thanks for your response. I think you might have misread that link. My understanding is that SFTP is indeed secure.

As you suggested I’m setting up a process to save results to file and, using the command line facility in winSCP, I’ve created a batch file for the RO’s to click and upload the files. (If anyone wants the details I’ll write them up)

Now my request please is to have a text box to hold a command line which will run after the “save to file” and run my batch file automagically.

BTW, I see in the Global Options - Folders a location for “My Script Files”. I can’t find any information on this. Is this folder for java script files or is there a scripting language I can use for automation in Sailwave now.

Many thanks

Peter

Bough Beech SC

Hi Peter,

Yes you are correct SFTP which is SSH FTP does appear to be secure.

To build it into Sailwave I would need to purchase this http://sockettools.com/sockettools-library-edition/ If you would like to pay for this then I’ll build it into Sailwave for you.

The Script files is for the Javascript files for publishing however you can automate virtually any program using the AutoIt3 program which is free of charge

To do what you want an easy way would be to run a program that monitors a directory lets say C:\Users\Public\Documents\Sailwave\Monitor so if you want to transfer a file via your batch file you could publish the file to this directory.

This program/script would then as soon as it sees the file in this directory run your script. You can do this very easily via autoit

https://www.autoitscript.com/forum/topic/113560-filesystemmonitor-udf/

You could simply replace a few lines in this example FileSystemMonitor example.au3 If you need some help with it let me know

Jon

···

Jon Eskdale
07976 709777

Skype “eskdale”

On 19 June 2015 at 03:09, peter@thecannons.me.uk [sailwave] sailwave@yahoogroups.com wrote:

Hi Jon, thanks for your response. I think you might have misread that link. My understanding is that SFTP is indeed secure.

As you suggested I’m setting up a process to save results to file and, using the command line facility in winSCP, I’ve created a batch file for the RO’s to click and upload the files. (If anyone wants the details I’ll write them up)

Now my request please is to have a text box to hold a command line which will run after the “save to file” and run my batch file automagically.

BTW, I see in the Global Options - Folders a location for “My Script Files”. I can’t find any information on this. Is this folder for java script files or is there a scripting language I can use for automation in Sailwave now.

Many thanks

Peter

Bough Beech SC

Hi Jon,

Thanks for your prompt reply.

I had wondered, looking at winSCP if it might be possible to hook into their code as it seems they expose their libraries. Getting to the limits of my coding knowledge though!

I’ll investigate as you suggest, I like the idea of monitoring the folder, should have thought of that!

I had been looking at AutoHotKey, an opensource utility, but if there’s already some examples in AutoIt then I’ll try there too.

Many thanks for your continued support, it’s much appreciated.

Peter

Has there been an update on this, it’s 2016 we need SFTP! :slight_smile:

Ben George

Lymington Town Sailing Club

Hi Ben,

There are many ways to support sftp. Some have been covered earlier in this thread.

I had no direct requests from anyone to build it directly into Sailwave / contribute towards the cost of the Sockettools software required to support it directly within Sailwave.

You can publish direct to a file on your PC and then use coreftp light which is free to upload any files you create.

If you want to make it a single operation you could use publish to an installed application where this a program that uploads directly using sftp to your server. This would be very easily done using Python

Inline images 1

If you need assistance to setup this python progam let me know

Jon

···

On 24 December 2016 at 16:39, b@bengeorge.me [sailwave] sailwave@yahoogroups.com wrote:

Has there been an update on this, it’s 2016 we need SFTP! :slight_smile:

Ben George

Lymington Town Sailing Club

Jon Eskdale
07530 112233

Skype “eskdale”

Very straight forward using winscp as external app.

http://badlywired.com/2016/09/sailwave-sending-files-scp-sftp/

Thanks Jon, Would be great to have it built into Sailwave. I’m looking to make a one click ‘publish’ solution for the club without the need for manual intervention. It’s going to be possible to do this outside of sailwave, just more work for me… :o

Thanks

Thanks Alan, as i said to Jon it Would be great to have it built into Sailwave. It’s going to be possible to do this outside of sailwave, just more work for me… :o

Thanks

The solution of using an external application is exactly the same as using FTP in terms of operational work, as in the option is on the pulldown menu on publish. The main difference is that you hav eto speficy the script name & the file name, not just the file name.

Setting it up is a once only per machine activity not that involved, download WinSCP, write a two line script. With FTP you have to set up the setting in ‘general’ on each machine anyway.