Solved

File Field not uploading image.

Posted on 2002-06-19
3
187 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
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 …
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

635 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