dcsimg
writing a file on to a network drive
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   vijay75_naidu
Posted On:   Thursday, August 22, 2002 11:00 PM

Hi

I have an req to write a file from my local machine to any on the machines on the local network.Is this possible in java without using SocketConnection.

If i use URL Objects,do i have to have a server listener on the remote machine?

thanks in advace
vijay

Re: writing a file on to a network drive

Posted By:   Jorgen_Nordqvist  
Posted On:   Saturday, August 24, 2002 04:38 AM

If you have the necessary access permissions on the systems you are writing to then there are no problems writing files using streams. On a LAN consisting of mainly Windows machines you can open a file on any other PC using the standard URN of "\pcName\shareName\dir\..\fileName".

Jorgen

About | Sitemap | Contact