Click to See Complete Forum and Search --> : save files using javascript


hungry_minder
March 31st, 2008, 08:04 AM
Hi,

I found this code

http://www.codeguru.com/forum/showthread.php?t=179209

it is working very well.

So anybody know how to save uploaded files in to a folder say,

C:/myfolder/images/

let me know how to modify above code to do this

thanks in advance

olivthill
March 31st, 2008, 08:13 AM
Javascript is working on the client side.
Uploaded files are on the server. You can use Java or PHP on the server but not Javascript.
It is not allowed, for security reasons, to write files on a client computer, except for a few pieces of information in cookies.