Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/10/2003, 00:19
Avatar de mamon
mamon
 
Fecha de Ingreso: enero-2002
Ubicación: Lima
Mensajes: 1.302
Antigüedad: 22 años, 3 meses
Puntos: 3
Pregunta WinXP y aspupload(malo?)

Hola, tengo problemas con el AspUpload.... tengo el windows XP, no sé si tiene algo q ver. Tengo dos páginas(copiadas de la página de http://www.aspupload.com)

la primera:

<HTML>
<BODY BGCOLOR="#FFFFFF">
<h3>Using memory uploads to access form items</h3>

<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="formitems_upload.asp">
Select file: <INPUT TYPE="FILE" SIZE="40" NAME="FILE1"><BR>
Select destination subdirectory:

<SELECT NAME="Subdir">
<OPTION>Folder1</OPTION>
<OPTION>Folder2</OPTION>
<OPTION>Folder3</OPTION>
</SELECT>
<BR>
<INPUT TYPE=SUBMIT VALUE="Upload!">
</FORM>
</BODY>
</HTML>



la segunda:

<HTML>
<BODY>
<%
Set Upload = Server.CreateObject("Persits.Upload")
' we use memory uploads, so we must limit file size
Upload.SetMaxSize 100000, True

' Save to memory. Path parameter is omitted
Upload.Save 'linea 9

' Access subdirectory specified by user
subdir = Upload.Form("subdir")

' Build path string
Path = "c:\upload\" & subdir

' Create path, ignore "already exists" error
Upload.CreateDirectory Path, True

' Save files to it. Our form has only one file item
' but this code is generic.
For Each File in Upload.Files
File.SaveAs Path & "\" & File.FileName
Response.Write "File saved as " & File.Path & "<BR>"
Next
%>
</BODY>
</HTML>


el problema es este, me sale este error cuando paso a la segunda página

Tipo de error:
Persits.Upload.1 (0x800A003F)
Invalid registration key.
/match/guardar2.asp, línea 9


no sé q es lo q pasa espero me puedan ayudar.
__________________
Yo si sé lo que es trabajar duro, porque lo he visto.