Link to home
Start Free TrialLog in
Avatar of elliottbenzle
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("Persits.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.
ASKER CERTIFIED SOLUTION
Avatar of b0lsc0tt
b0lsc0tt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm glad I could help.  Thanks for the grade, the points and the fun question.
bol