I have just moved servers and I don’t really want to open FTP up on the server. There is no need for any of the other sites, it all can be accessed by certificated SSH / SCP.
I’m not that familiar with windows architecture and solutions.
Is there any (relatively straight forward ways of publishing ) to my server without using FTP that you can think of?
As I’m already storing the .blw files on Google Drive ( so they can be updated from home etc ) I’m thinking perhaps of saving there and somehow pulling off via linux - I could do that by polling and making an API call, but that means writing some code ( not technically an problem, just time to do it )
I have just moved servers and I don’t really want to open FTP up on the server. There is no need for any of the other sites, it all can be accessed by certificated SSH / SCP.
I’m not that familiar with windows architecture and solutions.
Is there any (relatively straight forward ways of publishing ) to my server without using FTP that you can think of?
As I’m already storing the .blw files on Google Drive ( so they can be updated from home etc ) I’m thinking perhaps of saving there and somehow pulling off via linux - I could do that by polling and making an API call, but that means writing some code ( not technically an problem, just time to do it )
But any other ideas?
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
I have just moved servers and I don’t really want to open FTP up on the server. There is no need for any of the other sites, it all can be accessed by certificated SSH / SCP.
I’m not that familiar with windows architecture and solutions.
Is there any (relatively straight forward ways of publishing ) to my server without using FTP that you can think of?
As I’m already storing the .blw files on Google Drive ( so they can be updated from home etc ) I’m thinking perhaps of saving there and somehow pulling off via linux - I could do that by polling and making an API call, but that means writing some code ( not technically an problem, just time to do it )
But any other ideas?
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. www.avast.com
I have just moved servers and I don’t really want to open FTP up on the server. There is no need for any of the other sites, it all can be accessed by certificated SSH / SCP.
I’m not that familiar with windows architecture and solutions.
Is there any (relatively straight forward ways of publishing ) to my server without using FTP that you can think of?
As I’m already storing the .blw files on Google Drive ( so they can be updated from home etc ) I’m thinking perhaps of saving there and somehow pulling off via linux - I could do that by polling and making an API call, but that means writing some code ( not technically an problem, just time to do it )
I raised this last year here as the clubs hosted server only supports SFTP. In the end I set up a process for saving the results to HTML and writing a script/batch file using the WINSCP to do the upload. A bit clunky but it works most of the time.
Reading this page i’d hoped it might be possible to integrate Winscp tighter into Sailwave.
It is a shame as SailWave is really rich, but dropping behind current IT / Cloud capabilities.
I probably could use INSYNC to pull from sync from Google Drive to linux, its only $25 but then I might resort to coding a specific Google Drive API watch/pull.
That way at least SailWave becomes nearly cloud based for us.
I’ve not added all the results files so many of the links will be not found but for proof of concept I’ve add the
Inland Series 2016 results
and the Cup Series 2016 results.
For my proof of concept all I’ve done is created a Folder “Website” as a subdirectory of my Dropbox public folder and right clicked to get the public link of the index.html
You could of course have any URL point to this for easier access or it could be a link on your main website.
You don’t need to have the index page there. That could be on your main website and it just linking to the individual files - your choice.
Sailwave also supports publish to an installed application
So if you have a specific protocol you want to support then you can use this option.
If there is a protocol that is going to be useful to quite a few people then I will provide it. Otherwise you could always pay me to have your own custom protocol.
It is a shame as SailWave is really rich, but dropping behind current IT / Cloud capabilities.
I probably could use INSYNC to pull from sync from Google Drive to linux, its only $25 but then I might resort to coding a specific Google Drive API watch/pull.
That way at least SailWave becomes nearly cloud based for us.
Is the intention that there is a Dropbox process on the PC that
automatically transfers all files in the Results folder on the PC
to the corresponding Results folder on the Dropbox server. ?
Then your Sailing server is linked to that folder on Dropbox.
···
regards,
Malcolm Osborne
Rondevlei South Africa
On 2016-08-30 00:05, [sailwave] wrote:
I’m not sure the dropbox solution is what I (we) need.
What I'm trying to achieve is transfer to a server
without ftp, as ftp is quickly becoming deprecated because
of security issues.
In terms of protocol, I'm sure many would be happy with
scp.
In note that there is and option to 'windows
application’
if I put in notepad.exe it fires up notepad with html
in it
If you have a windows application is there a way of
specifying the (temp?) local file
e.g.
myspecial.exe %1 user@server:/remote
where (for example) %1 is the place holder for the
Of course that can be done with linux headless dropbox sync. It isn’t that hard, but if I need to install software, as my servers are already in the Googel cloud I’d prefer to use google technology.
It is simple enough to transfer a file at command line from a PC to a Google Compute Engine server, th issue is triggering the right PC command
[gcloud compute copy-files](https://cloud.google.com/sdk/gcloud/reference/compute/copy-files) ~/LOCAL-FILE-1 example-instance:~/REMOTE-DIR ``All I need is Sailwave to be able to write the command line with a temp file in the right place, when publishing to 'an installed application'
A generic solution like that could be used by winscp command line, gcloud command line or any other command line app
The idea of using Dropbox links is that you don’t transmit anything to the server at all, other than the link. So you just edit your web page in the usual way, add the link and you’re done. No upload.
You do have to pick up the link from Dropbox at the outset, but that’s usually way easier than a server file upload. Say goodbye to FTP (assuming you’re using some other method of keeping your web pages current.)
Thats fine it that is what you want to do, but I want to have the results integrated to the website with navigation etc, to achieve that I upload the html to the server and then extract the content in the and inject that into the web page.
I believe that there are several others doing similar and even a Joomla plugin (I use WordPress for our site) to do similar manipulation.
I understand that you are thinking of transferring the files to your server, but with the Dropbox solution there is no need to transfer the files. All you need on the server is a link to the file and this link can be setup before the results are published. You may want to put a file there with html content that tells anyone that accesses it that results haven’t been published yet rather than getting an error 404.
So all the scorer does it publish to a file on their PC - Dropbox will then automatically upload it to the cloud and as your server has a link to this then user will be able to view them instantly. No ftp or scp required !!
Going back to the Publish to Application
The application you specify will be opened with a parameter on its command line of a temporary file containing the html that you publish. So this is doing what you want as I understand. You can make it do anything you want - Transfer via scp if want perhaps with a python or similar script
As mentioned, the dropbox solution doesn’t really cater for tighter integration to the website, like generation of navigation menus based on series titles etc and extracting the body. Of course dropbox could be used as an intermediate stageing in that process but is an unnecessary step.
I did assume that perhaps the ‘application’ option might add a temporary file and I did investigate that but for some reason couldn’t get the filename as an input parameter, it might have been because I need to send two parameters, destination filename and the temp file. Clearly that would be the simplest solution to call an application to do the transfer.
e.g. myapp.cmd /path/dest ( and implied temp file as the second parameter