Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



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

Posts: 351
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
 
 
Register now for full access!
Old 07-18-2008, 12:49 PM Re: Persists ASPUpload
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
is there a folder called "/images/products/" ABOVE the location of the script?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
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: 265
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

Please login or register to view this content. Registration is FREE
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: 104
Location: http://www.joomladevs.com
Trades: 0
Check the file path. I am sure there is a problem with pathing only..
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


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: 83
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
__________________
Zeeshan Dar
itHighway -
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
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.16354 seconds with 12 queries