Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 173
  • Last Modified:

uploading files

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
justin_316_sr
Asked:
justin_316_sr
  • 2
1 Solution
 
alexhoganCommented:
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
 
alexhoganCommented:
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
 
justin_316_srAuthor Commented:
cool! thanks a lot man! ^_^
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now