Solved

uploading files

Posted on 2004-08-18
3
163 Views
Last Modified: 2010-04-25
good day to all pros here at experts exchange!

i'm having trouble uploading files (like pictures, etc.) into the server. right now i'm using iis (5.1? not sure what version but it is the one on win xp pro) and mysql as my server. i'm also using dreamweaver mx 2004.

i got a main.asp file which contains a file field (you know the one inside a form tag with the "browse" button following a text field) and points to a process.asp file and outputs the result to output.asp whether success or not.

the problem is this, i want my files to be stored on a separate folder, not on the database itself. what are the codes i must write to my process.asp file? and also the code that determines if the file upload is successful or not?

thanks guys! ^_^
0
Comment
Question by:justin_316_sr
  • 2
3 Comments
 
LVL 8

Expert Comment

by:alexhogan
ID: 11830429
There is a tech note about this.  There was a bug when searching .tpl files.  Dreamweaver saw them as a Perl file and not as a Cold Fusion file.  (I am assuming you're talking about a Cold Fusion template and not a Smarty template file)

Here's the technote;

http://www.macromedia.com/support/coldfusion/releasenotes/5/studio/releasenotes_5.htm
0
 
LVL 8

Accepted Solution

by:
alexhogan earned 250 total points
ID: 11830473
Ignor my post above.., I was thinking about something else when I posted to your question.  Sorry...

Here is an excellent article and tutorial on uploading files using asp.  It has all the sample code to get you started.

http://www.asp101.com/resources/saupload.asp
0
 

Author Comment

by:justin_316_sr
ID: 11849653
cool! thanks a lot man! ^_^
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

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…
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

821 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