Solved

File Field not uploading image.

Posted on 2002-06-19
3
182 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 …
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

771 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

11 Experts available now in Live!

Get 1:1 Help Now