export:lastexport.txt

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

export:lastexport.txt

Post by Mattk »

Is "lastexport.txt" just a reference type link (typed in as such) or should this file be selectable from the "Select file for upload" option? Or am I missing something all together?
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: export:lastexport.txt

Post by Mattk »

Still working on this one. data Export all good, FTP is all good, Trigger is all good (including test) if I select a specific file but so far have not managed the following as per the pro tutorial
....The file to be used for upload is specified as "export:lastexport" which automatically addresses the last generated export file.
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: export:lastexport.txt

Post by Mattk »

Well I am stumped on this one in regard how export:lastexport.txt automatically addresses the last generated export file. I can make it happen if a specific existing export file is selected but not in any automatic way. Maybe I have the thinking wrong with this lastexport.txt file but either this is a physical file (copy) of the name specific version or is it a place holder? If I follow the Wiki I get
Image
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: export:lastexport.txt

Post by admin »

"lastexport.txt" is a symbolic link in the file system to the last generated export file.
Therefore, when you delete the referenced file the link will point to nowhere.
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: export:lastexport.txt

Post by Mattk »

Still none the wiser in getting this one to work.

So how/when/where and why would this referenced link get deleted in preventing the FTP to upload the last export?
Post Reply