LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read/write remote files (Datasocket)

Hello all,

I need to be able to read from, and modify text files on a remote computer. More specifically, a client application needs to access/change the files on a server application (with a nasty firewall in the way). I have read up on the info on using data socket, and am a little confused.

The server PC (which I suppose would be running the datasocket server), is connected via LAN to a server/firewall (the firewall has an IP address a.b.c.d for example).
How do I use the datasocket read command (from the client computer outside the local network), as the file(s) I need to access are not actually local to the server/firewall (ie not running on a.b.c.d). So I dont suppose using something like
file:\\machine\mydata\readme
.txt[text] would work?

Sorry for the rather vague question... does anyone have any advice on how to modify files remotely?

Thanks for your help
Neil
0 Kudos
Message 1 of 2
(2,573 Views)
sorry for the late post but I just seen your question. Try this and see if it works.use dstp://your address.
You will also have to have the server configured to allow access to the machine.I do not know if datasocket will allow you to access a file on another machine but try this and see if it will work.

Sorry i could not help more

Joe



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 2
(2,573 Views)