Hey Gang

Trying to figure out how to use the A4D file upload system.  All SEEMS to be 
uploading, but I unable to copy the file to a "readable" directory

Using the following

<%
        $size := get upload size("A4D_Upload")
        $filename:=get upload remote filename("A4D_Upload")
        copy upload("A4D_Upload";"/uploads/"+$filename)
        writebr("Error: "+String(A4D_Error))
        writebr("filename: "+$filename)
%>

Both $size and $filename are correct, but the "copy upload" command returns an 
error -120

If I use, the following, I receive an error code -46

copy upload("A4D_Upload";"/uploads/"+$filename)


Any hints would be greatly appreciated, cant find the solution via Google search


Regards,

Mike Erickson
Automated Solutions Group
[email protected]
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to