| |
vidyavati
Posts: 7
Score: 0
Joined: 4/13/2005
From:
Status: offline
|
Can someone tell me where am I going wrong <% Function copyD() Set FSO = Server.CreateObject("Scripting.FileSystemObject") fnm= FSO.form1.file1.value MsgBox fnm FSO.CopyFile fnm,"D:\temp" Set FSO=Nothing End Function %> <html> <head> <title>Untitled Document</title> </head> <body> <form action="" method="post" enctype="multipart/form-data" name="form1"> <input type="file" name="file"> <input type="submit" name="Submit" value="Submit" onClick="copyD()"> </form> </body> </html>
|
|