Solved

uploading files

Posted on 2004-08-18
3
160 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

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 …
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

707 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

17 Experts available now in Live!

Get 1:1 Help Now