mb_*.* ftp files

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
pettergp
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: Tue Jun 14, 2016 3:41 pm

mb_*.* ftp files

Post by pettergp »

Hello,
I am using meteobridge to upload by ftp a template file named MBtags.php and an image file called image.jpg from my cam.
Sometimes on the same folders it appear new archives named mb_MBtags.php and mb_image.jpg.
When this happens I must delete them to start all working properly again.
Someone know why is this happening and how can I solve it?
thanks,
Peter
User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 604
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: mb_*.* ftp files

Post by wvdkuil »

pettergp wrote:Hello,
I am using meteobridge to upload by ftp a template file named MBtags.php and an image file called image.jpg from my cam.
Sometimes on the same folders it appear new archives named mb_MBtags.php and mb_image.jpg.
When this happens I must delete them to start all working properly again.
Someone know why is this happening and how can I solve it?
thanks,
Peter
The names with mb_*** are the temporary names used by Meteobridge when uploading.
After a correct upload Metebridge will delete the old file and first and then rename the mb_*** to the correct name.

Meteobridge uploads mb_MBtags.php
and when all is OK
Meteobridge deletes MBtags.php
and then
Meteobridge renames mb_MBtags.php to MBtags.php

This is a standard procedure to make sure that the file is always available to the scripts on the server as FTP of a file will take some time.
pettergp
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: Tue Jun 14, 2016 3:41 pm

Re: mb_*.* ftp files

Post by pettergp »

wvdkuil wrote:
pettergp wrote:Hello,
I am using meteobridge to upload by ftp a template file named MBtags.php and an image file called image.jpg from my cam.
Sometimes on the same folders it appear new archives named mb_MBtags.php and mb_image.jpg.
When this happens I must delete them to start all working properly again.
Someone know why is this happening and how can I solve it?
thanks,
Peter
The names with mb_*** are the temporary names used by Meteobridge when uploading.
After a correct upload Metebridge will delete the old file and first and then rename the mb_*** to the correct name.

Meteobridge uploads mb_MBtags.php
and when all is OK
Meteobridge deletes MBtags.php
and then
Meteobridge renames mb_MBtags.php to MBtags.php

This is a standard procedure to make sure that the file is always available to the scripts on the server as FTP of a file will take some time.
thanks Wvdkuil for your reply.
I think this could be due to a temporary weak 3g Internet connection.
Do you think running a cron that delete those mb_ files regularly is a right approach to a solution?
I would really appreciate any suggestion
Post Reply