Hi Guys
I'm sure this is simple but i need a little help none the less.
I am using the aspSmartUpload componant to upload two files at once. One file is a thumbnail and the other is a larger version of the same image. You guessed it, i'd like the thumbnail to upload to a folder called '/images/thumbs' and the larger image to a folder called '/images/large'.
At present the script saves any files uploaded to the same folder. How do i change this?
The script i am using is the sample from the ASPSMART website. (see below)
Thanks in advance for your wisdom
Elliot
<%
' Variables
' *********
Dim mySmartUpload
Dim intCount
' Object creation
' ***************
Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")
' Upload
' ******
mySmartUpload.Upload
' Save the files with their original names in a virtual path of the web server
' ****************************************************************************
intCount = mySmartUpload.Save("/images")
%>
I'm sure this is simple but i need a little help none the less.
I am using the aspSmartUpload componant to upload two files at once. One file is a thumbnail and the other is a larger version of the same image. You guessed it, i'd like the thumbnail to upload to a folder called '/images/thumbs' and the larger image to a folder called '/images/large'.
At present the script saves any files uploaded to the same folder. How do i change this?
The script i am using is the sample from the ASPSMART website. (see below)
Thanks in advance for your wisdom
Elliot
<%
' Variables
' *********
Dim mySmartUpload
Dim intCount
' Object creation
' ***************
Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")
' Upload
' ******
mySmartUpload.Upload
' Save the files with their original names in a virtual path of the web server
' ****************************************************************************
intCount = mySmartUpload.Save("/images")
%>