• I’ve setup cforms and have a form with an upload field.
    No matter what paths I put in the file Upload Settings fields i get this error at the top of the page:
    Can’t find the specified Upload Directory ! Please verify that it exists!

    I’m guessing the Upload Directory (absolute path) would be the path i get when i access via ftp which is:
    /httpdocs/****/wp-content/uploads-dir

    and the relative path:
    http://*****.com/****/wp-content/uploads-dir

    I’ve tried every combination of paths i can think of but still no go.

    Any help would really be appreciated

Viewing 7 replies - 1 through 7 (of 7 total)
  • you just want the relative path – like
    /wp-content/uploads-dir

    Thread Starter freaq

    (@freaq)

    Thanks Samboll,

    In the end I did a complete removal and reinstall of the plugin and now its working perfect…even automatically picked up the correct path info.

    I’m having the same exact problem. I’d rather not remove and reinstall cform. I created a pretty lengthy form.

    No matter what I put in I get the error:
    Can’t find the specified Upload Directory ! Please verify that it exists!

    I have copied the dir right out of the actual directory on DreamHost:
    /wp-content/my-upload-dir.

    What am I doing wrong?

    I was having the same problem and did not want to re-install the plugin as I had created a long form. I did some digging and found a file called abspath.php in the /wp-content/plugins/cforms/ directory. If you edit/view that file, it contains the absolute path.

    I was able to use that path and it works perfectly without re-installing or creating a new form. Try it out and let us know if you have different results.

    This works for me when uploading to the same WP directory where cform is running

    /home/username/public_html/wp-content/whatever

    but when i cant get it to go to a different server, at
    http://www.xxx.net/uploads/
    this is what i see my path as in FTP, is that my abs?
    /var/www/www.xxx.net/uploads

    seems so simple, why is so confusing for everyone? days messing w this, please help. thanks!

    ok so when uploading to a different server, use only
    Upload directory URL (relative path/URL)
    so im using
    http://www.xxx.net/uploads
    get no errors building or submiting the form, get email and tracking shows correctly, even the path in the tracking form with the path to the uploaded file
    http://www.xxx.net/uploads/something.zip
    but there is no file there, directory is empty. chmod 777. im not sure how a form can submit a file to a different server without a logon…

    http://www.deliciousdays.com/cforms-forum/

    I know it’s obvious, but have you been to the plugin forum?

    I’m only asking because the programmer is exceptionally helpful on there…..Ive had every question answered within a day

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘cforms upload field’ is closed to new replies.