View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
Hi,

I use Foxweb version 1.29.
I've been trying to upload file.
I've got OK result value from function WriteFile(),
but the file which was uploaded to the web server was damaged.

this is my code.

m.filename=formfield("f_name",,2)
fname='c:\inetpub\upload\'+allt(m.filename)
ok = WriteFile(fname, FormField("f_name"))

Please tell me what's wrong...
Thanks..