Hi, Like yahoo photos, I want to download file from user disk or network to server using javascript. How can I do that? Thanks, Angels
Heath Lilley
Ranch Hand
Joined: Jan 09, 2001
Posts: 72
posted
0
The only way I know of to upload files from a client is to set up a servlet on the server that reads the request data and saves it to the server's HD. Here is a link to the java download page of a set of classes we used to upload files from a clients machine. They are from Oreilly. http://www.servlets.com/cos/index.html The class You want to look at is the Multipart Request
Yuriy Fuksenko
Ranch Hand
Joined: Feb 02, 2001
Posts: 413
posted
0
You could have <input type=file , but anyway you need to handle file submission on a server side.