Here's a problem:
1.I created a local user in my system
2. I created a folder on my desktop and given permissions to write to this local user.
3. Then i mapped this folder to a Drive
I I could upload a text file and write to a folder on the desktop . Now problem is i need to write this shared folder..
The URL look something like this ..to connect to the shared folder::
\\IP Address\Drive\Document
How can i connect to the shared folder and write the text file to that folder?
Thanks,
Maruthi.
Main Topics
Browse All Topics





by: ramsinPosted on 2006-05-16 at 15:51:39ID: 16695016
I'm using this code to write a file to the local hard disk ::
Path);
// Write the file to the file specified
OutputStream bos = new FileOutputStream(fileStore
int bytesRead = 0;
byte[] buffer = new byte[8192];
while ((bytesRead = stream.read(buffer, 0, 8192)) != -1)
{
bos.write(buffer, 0, bytesRead);
}
bos.close();