elliottbenzle
asked on
help defining save path using persits asp upload
I'm trying to upload a file using persits aspupload. I'm using ASP VBScript.
I'm having trouble defining the path for the file to save in. Here is the code.
<%
Set Upload = Server.CreateObject("Persi ts.Upload" )
Count = Upload.Save("image") <------------------------- ---------- ---------
Response.Write Count & " file(s) uploaded to image"
%>
I want the file to save in a folder called 'image'
Here is the URL I see when viewing an image place in that folder:
http://www.glowfishtw.com/uploadtest/image/skyfire.jpg
The upload file is located in the 'uploadtest' folder.
What should I put in this line to get the file to upload to the right place:
Count = Upload.Save("image")
Here is the current page:
http://www.glowfishtw.com/uploadtest/getfile.asp
Thanks for any help.
I'm having trouble defining the path for the file to save in. Here is the code.
<%
Set Upload = Server.CreateObject("Persi
Count = Upload.Save("image") <-------------------------
Response.Write Count & " file(s) uploaded to image"
%>
I want the file to save in a folder called 'image'
Here is the URL I see when viewing an image place in that folder:
http://www.glowfishtw.com/uploadtest/image/skyfire.jpg
The upload file is located in the 'uploadtest' folder.
What should I put in this line to get the file to upload to the right place:
Count = Upload.Save("image")
Here is the current page:
http://www.glowfishtw.com/uploadtest/getfile.asp
Thanks for any help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
bol