I have an ASP page with an input field of type file. I want users to be able to browse their computers and for the file they select to be copied to the server. Can this be done with the FileSystemObject?
The script I have attempted to use is as follows:
dim objFile
set objFile = server.CreateObject"Scripting.FileSystemObject"
objFile.CopyFile request.form("attachment"
, "d:\inetpub\
Is the reason that this is not working because the source has to be on the server not the users local machine?
The script I have attempted to use is as follows:
dim objFile
set objFile = server.CreateObject"Scripting.FileSystemObject"
objFile.CopyFile request.form("attachment"
Is the reason that this is not working because the source has to be on the server not the users local machine?