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.
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.
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
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
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.
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.
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
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.
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.
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
If you need assistance to setup this python progam let me know
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 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
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.