Solved

File Field not uploading image.

Posted on 2002-06-19
3
184 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

770 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