Solved

File Field not uploading image.

Posted on 2002-06-19
3
183 Views
Last Modified: 2010-04-25
Hi ,

I am trying to upload images to a directory.
The file field is in an insertion form. So the action field defaults to MM_EditAction. I don't know what to put in the action field, since I want the image to be uploaded to a special folder.

If DW does not allow the image to be uploaded to a folder , does it go into a field in the database.
Currently I have the file field named as the field in table. But nothing goes into the table.

I also have other fields in the insertion form that are related to the same table as the image field.

How does the file filed really work? What can I do to upload an image?

Help please please.
0
Comment
Question by:asankar
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
webwoman earned 50 total points
ID: 7104040
YOu don't upload files using Flash. It doesn't have the right tools. A text field is NOT an upload button. A Flash button is NOT an upload button. It won't work that way. You need to make an HTML form with an input type FILE option. It will generate a standard HTML button, and you CANNOT change it. The server also has to support it.
0
 

Author Comment

by:asankar
ID: 7104180
Hi , thanks for the input , but I needed a solution in a hurry. so I kind of figured it out with the help of plenty research online.

I wasn't using Flash , sorry for giving you that impression.

What I did find out was that the file field upload in dreamweaver doesn't just work like that. You have to modify the code. The documentation for this field in dreamweaver is insufficient. So I found an extension that does it. I used a pure asp code extension that I found in www.msdn.microsoft.com/library,  Steven W. Disbrow is brilliant!!!

But thank you for responding anyways webwoman.
0
 
LVL 19

Expert Comment

by:webwoman
ID: 7106330
No form elements in Dreamweaver work without modification. Hardly anything in any WYSI(N)WYG editor works without modification -- especially things that require some sort of processing on the server.

Glad you got it to work though. You might want to check out some of the other asp upload components, a pure asp solution really only works for very small files.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now