Click to See Complete Forum and Search --> : Writing to text file to......
wolfen_76
September 15th, 1999, 05:41 PM
Hi.. i would like to know.. can i write something to a text file at a different computer, in a normal networking without having to share the hardisk drive.. maybe using api or something.. can someone tell me how it could be done...?? thanx
Voyager
September 25th, 1999, 12:14 PM
Hi there
well u are gonna have a problem because if u do not share that drive or directory there is no way u can access or write to a file on another pc over a network. The target pc must first give access to a directory otherwise your app is not gonna know what path u are talking about.
hope this helps
:)
Voyager
santulan
September 25th, 1999, 10:09 PM
Hi,
Yes, You can do, theoritically... I will just give you the way.. You have to work on that...
There is a concept Socket Programming. You can send a packet of data to another IP address. The process is like this:
You have program client and server separately. Any computer can be client and any can be server. Ok.
If design a small program (TSR type) which will only listen the incoming sockets. (This ok name as server). As soon as the socket arrives it will recieve and write on harddisk.(This is a local operation and no need to share)
Then design a small program on another computer from where you wish to send the data. Simply in a socket bind the server Ip address and send the data.
I think this is what you need. Socket programming is simple but more convinient in C++/C.
Santulan
wolfen_76
September 26th, 1999, 10:10 AM
Any guide how to do it in vb.. I managed to do some active dll from vc and used it in vb but the program fail to send.. sometime it crashed the pc..
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.