script help

im looking for a scrip that will do the following


if wlan1 is true move file gps.txt to routerboard 172.17.100.1/txt


if it cant be done a script that will say user x loged out del file gps.txt

It is not possible to send file to another routerboard by script.

what about after a user loged out to del a file?

now that must be able to be done

Yes that is possible:
check if user is logged in, if not use command
/file remove

so how can i set it :::::

can you give me an example of what to coad will look like

if i want it to be se as follows if

ftp connection from x connected an downloaded a file and it disconnected to del the file 10 min later

I don’t know what exactly you want at first you asked how to delete file if user is disconnected ( not pointing out exactly what kind o user). Now you are talking about some ftp connections.

this is what im looking at

i want it to export a gps.txt file every 5 sec
so the first file will be gps.txt,no 2 will be x.txt ,x.txt and so on till x.txt
the if a ftp connectio connect and copys x.txt and logs out then it del file gps.text and so od with all the files
all in realy looking at is i wnat to move a txt file from point a - b with as little duplicats as possable what im doing is putting the data into a database so lets say i loose connection for an hour ill still be able to get most of the data if the unit comes back into range

but i want th x.txt file to look like this
must have the
software id = YRV9-LTT
date and time in it so it will look somthing like this
YRV9-LTT_GPS0611_204435.TXT

YRV9-LTT=softwer id

GPS061108 = the date

204435 = the time

can any one please help

i got it sorted can any one tellme how to change to time so everytimg itnumbers i want nov=11 dec=12 jan=1
can any one telme how to do this please