Page 1 of 1
Use fetch wil create the File
Posted: Tue Nov 14, 2023 11:51 am
by TUNG0407
Dear ALL,
I created the script to get some netwatch value and upload to my web site, but i found after the script executed, the file list will auto create the file, the file name is my URL link, anyone can help?
TungHo
Re: Use fetch wil create the File
Posted: Tue Nov 14, 2023 1:28 pm
by rextended
From the vehicles repairer:
- Why doesn't my car start?
- Where is the car to be checked?
- I left it at home...
Re: Use fetch wil create the File
Posted: Tue Nov 14, 2023 1:53 pm
by diamuxin
Re: Use fetch wil create the File
Posted: Tue Nov 14, 2023 2:59 pm
by TUNG0407
Sorry, is it normal behavior?
If will create many file, the storage will be out of order.
Re: Use fetch wil create the File
Posted: Tue Nov 14, 2023 4:22 pm
by rextended
And what does it have to do with the topic or with the first question?
From the vehicles repairer:
- Why doesn't my car start?
- Where is the car to be checked?
- I left it at home...
- And how do you expect me to answer you if I DON'T SEE IT FIRST?
Re: Use fetch wil create the File
Posted: Tue Nov 14, 2023 8:06 pm
by TUNG0407
Below is the code under system ->script
:global GETlosspercent [/tool netwatch get value-name=loss-percent [find host ="10.255.1.1"]];
:log info $GETlosspercent;
/tool/fetch http-method=post mode=https http-header-field="Content-Type: text/html; charset=utf-8" url="
https://XXX/Collect/logging.php?DeviceI ... osspercent%"
Re: Use fetch wil create the File
Posted: Thu Nov 16, 2023 5:46 am
by TUNG0407
@ rextended any idea?
Thanks
Re: Use fetch wil create the File
Posted: Mon Nov 20, 2023 1:36 pm
by TUNG0407
is thre any infomration missing?
Anyone can help?
Re: Use fetch wil create the File
Posted: Mon Nov 20, 2023 2:08 pm
by pe1chl