Page 1 of 1

ftp for weathercam pictures? **solved**

Posted: Sun Dec 22, 2013 4:36 am
by Karl139
Hi,

I know that the latest picture from MB weathercams can be found at http://content.meteobridge.com/cam/....camplus.jpg, but are the pictures also available via ftp so you can download them to other ftp servers?

Thanks

Johan

Re: ftp for weathercam pictures?

Posted: Sun Dec 22, 2013 10:51 am
by admin
FTP function in "Push Services" allows to upload the AirCam picture to your FTP server.
As the weather data annotation is done on the Meteobridge server only, your Meteobridge
client cannot upload the annotated picture (camplus) to your FTP server, just the original picture.

Re: ftp for weathercam pictures?

Posted: Sun Dec 22, 2013 9:01 pm
by Karl139
Thanks, works great. I missed that in the manual.

A follow-up question.
Is it also possible to create sequence numbering of the pictures with a file parameter, for example with date and time? Like this:
cam_20131222120500.jpg
cam_20131222120700.jpg
...

Johan

Re: ftp for weathercam pictures?

Posted: Mon Dec 23, 2013 11:30 am
by admin
Yes, this has been added on November 30 (please see release notes http://www.meteobridge.com/wiki/index.php/Forum).

To make it rather universal it is based on "strftime" syntax well-known from gnu c, perl, php, etc. Details
are explained here: http://man7.org/linux/man-pages/man3/strftime.3.html

File name will be "cam_%Y%m%d%H%M%S.jpg" in your case.

Re: ftp for weathercam pictures? **solved**

Posted: Mon Dec 23, 2013 10:50 pm
by Karl139
Perfect.

Thanks for quick support and a great software.

/ Johan