J
javajavalink
I need help with a program that will be run on mac OS X (with java
installed). The program has to download a file (not a common file type)
from a specific spot on aserver(running windows) to the desktop of the
mac. Then it has to open the file (as if you doulbe clicked it).
I am a relatively new to java. I know basic networking (i made a
chatroom program) and a bit about the regular stuff. I uses the sun
information (java.sun.com/j2se/1.5.0/docs/... alot so any refrences to
that would be helpful.
Here is what i don't know how to do (if it is possible in java):
-download a file from a server (is there a method for this that i can
use after i open the socket?)
-save this file to the desktop (this has to be done on a bunch of
different macs so i wont know their username or anything like that)
-launch the file (is there a program i can run on the file? like if is
was a MS word file, is there a program inside MS word that i could call
on the file?)
Thanks in advance!
installed). The program has to download a file (not a common file type)
from a specific spot on aserver(running windows) to the desktop of the
mac. Then it has to open the file (as if you doulbe clicked it).
I am a relatively new to java. I know basic networking (i made a
chatroom program) and a bit about the regular stuff. I uses the sun
information (java.sun.com/j2se/1.5.0/docs/... alot so any refrences to
that would be helpful.
Here is what i don't know how to do (if it is possible in java):
-download a file from a server (is there a method for this that i can
use after i open the socket?)
-save this file to the desktop (this has to be done on a bunch of
different macs so i wont know their username or anything like that)
-launch the file (is there a program i can run on the file? like if is
was a MS word file, is there a program inside MS word that i could call
on the file?)
Thanks in advance!