English
Forum

File loading over IP-address

 

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 X3
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
10/23/19  
 




p.specht

If the via internet happen should, will need you a local Server How z.B. whom APACHE, must a couple holes in your Firewall make (See Apache-Install-guide) and the each actually IP with one DynDNS-Provider automatically report (most nichtprofessionellen internet-Accounts having nowadys a dynamic IP, speak: tappt im dunkeln changes itself each Einloggen new.).

should the only local network behind one Router erfolgen, sufficient The release as gesharetes drive. then can the File by Computername\\drive:\directory\Dateiname.txt Call.

P.s.: To You with the EU-Politiker Martin Sonneborn akin?
 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
10/23/19  
 




Stephan
Sonneborn
p.woodpecker (23.10.2019)
P.s.: To You with the EU-Politiker Martin Sonneborn akin?


No, but interestingly. in the last Time I will the more frequently demand

but now To something complete anderem:
I have unfortunately The hardware, around the It's all right, not yet here. the unit position over a IP-address in the local network (in the Messgerät and PC eingeloggt are) a File with Messwerten To Disposal, The I read must.

say we time, the unit and the PC are in the network 192.168.2.xxx announced.
Z.B. Messgerät: 192.168.2.123.
can I then simply through DownloadFile("192.168.2.123//Meine_Messwerte.html") The File reading?
 
XProfan X3
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
10/24/19  
 




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 11
Computer: 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
DOWNLOADFILE("https://<IP-Adresse>/<Dateiname>.html")
has it worked.

Vielen Thanks!
 
XProfan X3
Schö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 X4
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
11/20/19  
 




p.specht

SendKey, SendString?
 
XProfan 11
Computer: 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 X4
Schö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 X4
Schö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 11
Computer: 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 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
11/21/19  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

13.304 Views

Untitledvor 0 min.
Heiko Dix08/08/23
Xegon12/30/21
Sven Bader05/01/21
ByteAttack01/21/21
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie