Solved

uploading files

Posted on 2004-08-18
3
162 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 is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 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