D
Diego
Hi every body,
i have to send an immage to a remote server, but when i do run, i
didi't have console error or unsuccesful writing, but the image dosen't
appare in the folder....
tha file has this adress..
static String dest_source_folder =
"\\\\elmsrv-ese02\\ELMTEST-REPOSITORY\\ELM2\\WebSrv\\www\\app\\webroot\\img\\";
String dest = new String(dest_source_folder + "mio.jpg");
and i try to send with..
ImageIO.write(dest, "JPG", new File(destFile);
the run give me an error:
Exception in thread "main" java.net.MalformedURLException: no protocol:
\\elmsrv-ese02\ELMTEST-REPOSITORY\ELM2\WebSrv\www\app\webroot\img\mio.jpg
what i have ti do to send this immage to the correct adress? (i sure
need to insert user ad pass word)
thk..
i have to send an immage to a remote server, but when i do run, i
didi't have console error or unsuccesful writing, but the image dosen't
appare in the folder....
tha file has this adress..
static String dest_source_folder =
"\\\\elmsrv-ese02\\ELMTEST-REPOSITORY\\ELM2\\WebSrv\\www\\app\\webroot\\img\\";
String dest = new String(dest_source_folder + "mio.jpg");
and i try to send with..
ImageIO.write(dest, "JPG", new File(destFile);
the run give me an error:
Exception in thread "main" java.net.MalformedURLException: no protocol:
\\elmsrv-ese02\ELMTEST-REPOSITORY\ELM2\WebSrv\www\app\webroot\img\mio.jpg
what i have ti do to send this immage to the correct adress? (i sure
need to insert user ad pass word)
thk..