PHP Classes

curl file upload error

Recommend this page to a friend!

      Curl File Uploader  >  All threads  >  curl file upload error  >  (Un) Subscribe thread alerts  
Subject:curl file upload error
Summary:curl file upload error "failed creating formpost data"
Author:Dave Toolate
Date:2007-03-28 16:15:33

  1. curl file upload error   Reply   Report abuse  
Dave Toolate - 2007-03-28 16:15:33
I get this error when I try a test file upload:
"Array ( [file1] => @C:\Projects\test.txt ) failed creating formpost data
Unable to upload file."

Curl is definitely installed, and the CurlFileUploader object is being created. The "test.txt" file definitely exists in the right location.

System: Linux
PHP Version 4.4.4
CURL support - enabled
CURL Information - libcurl/7.15.3 OpenSSL/0.9.7a zlib/

Would appreciate any ideas!