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
You may also want to take a look at the publishing component
of SailEvent.net. You can read all about it at http://sailevent.net but, in a
nutshell, you upload your Sailwave series file or files to SailEvent and results
are immediately available on the web as a responsive web page and/or a rolling
display on a screen in your clubhouse.
You can see what the output looks like at http://sailevent.net/chrw. We are currently beta-testing and, if you would like to try it, please get in touch (info@sailevent.net); we want as much feedback as possible.
I do not have any references. It worked when I opened on my main computer with Dropbox installed, and a shared folder. I did a copy and paste to get the HTML file into my Dropbox.
It requested I join Dropbox when I tried my second computer that does not have Dropbox.
Please feels free to levae any comments / improvements in the comments section
Sailwave and sending files by SCP or SFTP - Badly Wired
Sailwave is a windows based application that manages scoring and results for sail races and series See http://www.sailwave.com/ Sailwave comes with many different ways to ‘publish’ results, including FTP’ing the html results files to a server. Whilst there are many way…
Just found it in the hidden options in ‘user interface’
Cheers
Paul
···
To: sailwave@yahoogroups.com
From: sailwave@yahoogroups.com
Date: Sat, 10 Sep 2016 17:36:19 +0000
Subject: [sailwave] How do I change the settings for tie-break so that Sailwave uses the discard in the event of a tie?