| |
|
|
- Page 1 - |
|
Stephan Sonneborn | Hi,
how can I with DownloadFile a File loading, The on one unit with the IP-address aaa.bbb.ccc.ddd stored is? it's about a simple *.txt File or circa a *.html File.
to that testing would I gladly a File dial, The on C:\ lying and the I over The IP-address of my PCs (z.B. over IPCONFIG herausbekommen) read would like. |
|
|
| XProfan X3Schöne Grüße aus Wittgenstein von Stephan Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 10/23/19 ▲ |
|
|
|
|
| |
|
- Page 1 - |
|
p.specht
| the comes on the Gerätetreiber on. follows it one active log (the unit as Server), then could one z.B. [...] try. The Download-commands self is me not very familiar, I suspect it follows either the http- or the ftp-log. RGH (Roland) ask! |
|
|
| XProfan 11Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'... | 10/24/19 ▲ |
|
|
|
|
Stephan Sonneborn | Habs on the friday hinbekommen: we'd yet a middle-aged Prototypes in the camp, whom Have I connected and a bisschen rumprobiert.
with has it worked.
Vielen Thanks! |
|
|
| XProfan X3Schöne Grüße aus Wittgenstein von Stephan Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 10/27/19 ▲ |
|
|
|
|
Stephan Sonneborn | so, now geht's a step moreover.
The Generierung the Messdaten results by Knopfdruck: IP_Adresse/meine_messdaten.html?messung_starten
This will means in the Browser displayed, if I The mouse over The Schaltfläche "Messung starten" move.
How can I The Messung with XPROFAN started, means whom "Klick on The Schaltfläche" simulate?
I have the as URL$ on DOWNLOADFILE() skillful, but the Messung watts not launched, yet has $Download what zurückgeliefert. |
|
|
| XProfan X4Schöne Grüße aus Wittgenstein von Stephan Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 11/20/19 ▲ |
|
|
|
|
p.specht
| |
|
| XProfan 11Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'... | 11/20/19 ▲ |
|
|
|
|
Stephan Sonneborn | Hmm, could weg, if it one Button on one normalen Anwendungsfenster would, but the Button becomes really not viewed. i want fundamentally only The function or whom Process started, the expires, if I on the Button clicking would. the should by HTTP GET weg. there have I but none experience with, only so much, I the with XProfan directly not found have... |
|
|
| XProfan X4Schöne Grüße aus Wittgenstein von Stephan Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 11/21/19 ▲ |
|
|
|
|
p.specht
| SelfHTML is Yes now one WIKI become (I knew it, there was is another downloadbares PDF-File). to GET-method the following LINK: [...]
Perhaps helps it, with Create("HTMLWin",...) one Browserfenster To produce and there with @HTMLWin(...) To navigating? (Habs not tested) |
|
|
| Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'... | 11/21/19 ▲ |
|
|
|
|
Stephan Sonneborn | These WIKI Have so did i found and the appeal then so gebastelt: Downloadfile("https://xxx.xxx.xxx.xxx/meine_messdaten.html?messung_starten", "c:\\Test.txt") for the xxx naturally then The IP-address. unfortunately comes nothing brauchbares on, solely the html Content the Page "https://xxx.xxx.xxx.xxx/meine_messdaten.html" The Messung self won't launched. |
|
|
| XProfan X4Schöne Grüße aus Wittgenstein von Stephan Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 11/21/19 ▲ |
|
|
|
|
p.specht
| Vergiss DownloadFile as kick-off-commands for Messungen. with Downloadfile sustain You The Ergebnisdatei, otherwise nothing.
Create("HTMLWin",...) with of/ one suitable ?Get-address could m.E. whom kick-off for Server give. Kann´s unfortunately not try... |
|
|
| XProfan 11Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'... | 11/21/19 ▲ |
|
|
|
|
p.specht
| with my Plotter (Dummes example) fehlte then only end one CR-LF characters ... |
|
|
| XProfan 11Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'... | 11/21/19 ▲ |
|
|
|
| |
|
- Page 2 - |
|
|
Stephan Sonneborn | on Create("HTMLWIN"...) I had already virtual. but How bastel I so The GET request? the example in the Help shows not... On XPROFAN.de there in the Programming-Forum a Thread To Topic winhttp.dll, there Have I time angehangen. but the is hold already from 2014... |
|
|
| XProfan X4Schöne Grüße aus Wittgenstein von Stephan Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 11/21/19 ▲ |
|
|
|
|
Georg Teles | good evening,
look you times the PHP.inc on: [...]
be not yet bulkily To PHP.inc come, have here example quick gebastelt and a SubDomain by me arranged The just The GET inquire zurücksendet and this program these aufnimmt and outputs.
You give The values on The Website moreover and get a response (GET) (as example is the Edit Schonmal filled)
Download
Regards |
|
|
| |
|
|
|
| p.woodpecker (21.11.2019)
Vergiss DownloadFile as kick-off-commands for Messungen. with Downloadfile sustain You The Ergebnisdatei, otherwise nothing.
DownloadFile$ introduce HTTP-GET-appeal through and on the WebServer becomes the spezifizierte Program launched and the Result zurückgegeben - So one (integrally normal) "Anstoß-" commands as well as of Browser (HTMLWin) uses and normal for call of Mikrocontroller-Webservern/ Loggern/ IP-cameras einsetzbar.
adopted a juhu.php in the directory fold gives 123 by "echo 123" back, means http : ///fold/juhu.php, PHP becomes of WebServer launched/ carryed out alike whether URL from Browser or DownloadFile$ called and the echo is the Return.
DownloadFile$ can variables not by HTTP-POST transfer (or habs not yet come along), variables by GET transfer means however solely tappt im dunkeln in the URL To specify ?v1=1&v2=2&...
here only uncharted is the Nature and point, How the Webserver The Rückgaben supply, if it tappt im dunkeln not How To expect immediate as echo on DownloadFile$ zurücksendet.
Möglicherweise lying here in the senses the HTTP-Protokolls "Chunked- Content" to or The data should a others URL abgerufen go.
this can itself well discover z.B. by Chrome-Browser in the developer-Konsole under "Netzwerk", or. of which address the Browser when which data läd. (there also on XHR respect/ enable, if the HTML-Button any Ajax auslösst)
HTMLWIN and php.inc should not necessary his, if no HTTP-mail- or Sonderaufrufe come off must. |
|
|
| |
|
|