Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

aspsmartupload: uploading to two different files at once

Status
Not open for further replies.

eljacobs

Programmer
Oct 13, 2003
47
GB
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")


%>
 
As this is a product that isn't a standard asp component, have you send a request to the developers?


It hits me that they would be best suited to answering this question.

Rob
 
The component is free but alas, support is not.

Therefore, since the component is popular I figured someone may have come accross this issue before and may have a solution.

Thanks again

Elliot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top