can not connect to remote computer

I want to send a file to a remote, i have user and pw but i dont know how to connect to remote computer with java. Please show me a way!

Here is my exception:

java.io.FileNotFoundException: \\10.14.120.1\bayi\temp_file_transfer\Irs_rap6.rep (Logon failure: unknown user name or bad password)

at java.io.FileOutputStream.open(Native Method)

at java.io.FileOutputStream.<init>(Unknown Source)

at java.io.FileOutputStream.<init>(Unknown Source)

at Gonder.kopyala(Gonder.java:55)

at Gonder.run(Gonder.java:40)

at java.lang.Thread.run(Unknown Source)

[612 byte] By [@ugura] at [2007-10-3 2:54:30]
# 1
You can't. You have to be already connected.Unless you can find a Java implementation of SAMBA, but that's probably overkill for what you need to do.
ejpa at 2007-7-14 20:43:35 > top of Java-index,Core,Core APIs...
# 2
Thanks for your advice. When i log on to windows with same user and pw of remote, problem is solved.Regards.
@ugura at 2007-7-14 20:43:35 > top of Java-index,Core,Core APIs...
# 3

Resp sir,

My self Mrugesh Kothari i am staying in india & i would like to contact to you bcoz i have a very good deal for all members it is i have invested money in property opp international air port of Andheri marol Andheri : East. Mumbai Maharashtra. India. DETAILS OF PROPERTY : Its 45 Flats at very chip cost of other builders in market so please contact me on my cell : +91-9323906295.

Thank you,

Regads.

Mrugesh Kothari.

GULMOHUR

gulmohur@yahoo.coa at 2007-7-14 20:43:35 > top of Java-index,Core,Core APIs...