Home | Advertising Info143 USERS CURRENTLY ONLINE   
PowerASP
   Site Search Contact Us Wednesday, January 15, 2025  

  Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
Classic ASP - General
 PowerASP Code Help Area : Classic ASP - General
Subject Info: file copy don´t work => why ??? A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
FrozenAlex
Newbie
Newbie


Joined: May/05/2004
Online Status: Offline
Info: 1
Added: May/05/2004 at 6:35am | IP Logged Quote FrozenAlex

??? WHY DOES THIS CODE NOT WORK ???

 Warum funktioniert das nicht bei mir ?

 

 

++++++++++ upload.htm ++++++++++
<html>

<head>

</head>

<body>

<form action="save.asp" method="post" enctype="multipart/form-data">
   <table>
      <tr>
         <td>Datei:</td>
         <td><input type="file" name="UPLOAD_FILE" maxlength="250" size="80"></td>
      </tr>
      <tr>
         <td></td>
         <td><input type="submit" value="Upload"></td>
      </tr>
   </table>
</form>

</body>

</html>

++++++++++ save.asp ++++++++++
<%
Set FS = Server.CreateObject("Scripting.FileSystemObject")

response.write Request.Form("UPLOAD_FILE")

FS.CopyFile Request.Form("UPLOAD_FILE"), "\\eagcldaten\daten\public\Doku-Sammlung\", True
%>
<BR>
Ihre Datei nach <a href=file://eagcldaten/daten/public/Doku-Sammlung>
 \\eagcldaten\daten\public\Doku-Sammlung</a>
 übertragen
<BR>

Back to Top View FrozenAlex's Profile Search for other info by FrozenAlex
 
cwilliams
Admin Group
Admin Group
Avatar

Joined: April/26/2004
Location: United States
Online Status: Offline
Info: 137
Added: May/05/2004 at 2:34pm | IP Logged Quote cwilliams

What you are doing isn't going to work no matter what.
You can not upload files like that.

I suggest you check out this site.

http://www.freeaspupload.net



Edited by cwilliams on May/05/2004 at 2:38pm


__________________


Chris Williams
http://www.PowerASP.com
Back to Top View cwilliams's Profile Search for other info by cwilliams
 
Bullschmidt
Newbie
Newbie
Avatar

Joined: July/06/2004
Location: United States
Online Status: Offline
Info: 12
Added: July/06/2004 at 12:37am | IP Logged Quote Bullschmidt

And here is another pure ASP (i.e. no components) resource for letting the user upload a file which is something that was unfortunately not built into ASP:

ASP File Upload Using VBScript by John R. Lewis - 7/10/2000
http://aspzone.com/posts/160.aspx



__________________
J. Paul Schmidt, Freelance ASP Web Developer
www.Bullschmidt.com
Classic ASP Design Tips, ASP Web Database Sample (Freely Downloadable)
Back to Top View Bullschmidt's Profile Search for other info by Bullschmidt Visit Bullschmidt's Homepage
 

If you wish to make a comment to this info you must first login
If you are not already registered you must first register

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.cjwsoft.com,www.aspclassifieds.com,www.aspphotogallery.com