Solved

uploading files

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Search/Results Pages 7 393
Update 2 tables at the same time 3 464
Download all files with one click 7 593
Expression Web 2 - where to go? 3 342
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 …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

896 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

13 Experts available now in Live!

Get 1:1 Help Now