
28/06/2004, 16:46
|
 | | | Fecha de Ingreso: enero-2002 Ubicación: Lima
Mensajes: 1.302
Antigüedad: 23 años, 4 meses Puntos: 3 | |
smartupload en servidor Hola, tengo una página en un hosting que soporta SmartUpload, pero lo que pasa es que no me deja guiardar los archivos, la carpeta tiene permiso de escritura, pero me sale este error:
aspSmartUpload.File error '80040460'
Unable to save file (Error 1120)
/mega-pc.net_non_ssl/crear_oferta.asp, line 78
les doy lo que tengo:
intCount=0 'initialize the counter
Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")
'limit the file size to 20 Kb, Larger size not recommended
mySmartUpload.MaxFileSize = 500000
' limit the file extensions to pictures files
mySmartUpload.allowedFilesList="gif,jpg,jpeg,JPG,G IF"
'Select files on the user computer
mySmartUpload.Upload
xextension = trim(mySmartUpload.Form("extension"))
xnombre = xid_producto&xid_familia&"_"&xtitulo
For each file in mySmartUpload.Files
If not File.IsMissing then
path = Server.MapPath("imagenes/productos")&"\"
filename = path & Lcase(xnombre) & xextension
file.SaveAs(filename) ' linea 78
intCount = intCount + 1
End If
Next
' initialize the object
Set mySmartUpload=nothing
espero que me puedan ayudar...gracias
__________________ Yo si sé lo que es trabajar duro, porque lo he visto. |