Reply
Old 07-17-2008, 07:00 PM Persists ASPUpload
Sleeping Troll's Avatar
Ultra Talker

Posts: 266
Name: Butch Begy
Trades: 0
I have no problem with my form text via Upload.form, however My image file does not seem to be getting saved.

Code:
 
Set File = Upload.Files("ImgFile")
If Not File Is Nothing Then
Filename = file.Filename
Response.Write(Filename)
File.SaveAs "../Images/Products/" & Filename
End If
Response.Write(Filename) is correct, So where am I making an error?

Last edited by Sleeping Troll; 07-17-2008 at 08:56 PM..
Sleeping Troll is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 07-18-2008, 12:49 PM Re: Persists ASPUpload
chrishirst's Avatar
Super Moderator

Posts: 21,615
Location: Blackpool. UK
Trades: 0
is there a folder called "/images/products/" ABOVE the location of the script?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-18-2008, 08:38 PM Re: Persists ASPUpload
nyef's Avatar
Ultra Talker

Posts: 267
Name: Lucas
Trades: 0
You need to use the Upload.Save method to save the uploaded file. Consult the documentation at www.aspupload.com
__________________
~nyef
Over 5000 free games!
nyef is offline
Reply With Quote
View Public Profile Visit nyef's homepage!
 
Old 07-23-2008, 02:30 AM Re: Persists ASPUpload
Super Talker

Posts: 102
Location: http://www.isquaretechnologies.com
Trades: 0
Check the file path. I am sure there is a problem with pathing only..
__________________
saurabhj is offline
Reply With Quote
View Public Profile Visit saurabhj's homepage!
 
Old 08-22-2008, 01:30 PM Re: Persists ASPUpload
itHighway's Avatar
Skilled Talker

Posts: 73
Name: Zeeshan Dar
Location: GUJ
Trades: 0
Many servers for security reasons only allow virtual path with Pesists upload component.

Try following:
file.SaveAsVirtual "/images/products/"& file.FileName
itHighway is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Persists ASPUpload
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.12560 seconds with 13 queries