Skip to main content
Inspiring
March 24, 2008
Answered

CF file upload problems

  • March 24, 2008
  • 4 replies
  • 660 views
Hello, hopefully someone out here will have an answer to this. I am having a problem getting two images to upload to the server. The first image always uploads, but the second one does not. The entry gets put in the database for both image paths, but I can not figure out why the second will not upload. I have attached the code.


Thank you in advance for any help.

Weston
This topic has been closed for replies.
Correct answer weswhite7
For some reason I never thought to check folder permissions. For anyone having this issue later on, double check your folder permissions on the server. I had no write permissions set so once I changed those it uploaded the file.

4 replies

August 10, 2010

In my case, I was attempting to use a different Username than the owner of the files.  Once changed to the true owner in the site definitions, it all worked.  It had nothing to do with permissions on the specific folders or files.

Participating Frequently
March 24, 2008
Nice to hear that you have figured out. :)

weswhite7AuthorCorrect answer
Inspiring
March 24, 2008
For some reason I never thought to check folder permissions. For anyone having this issue later on, double check your folder permissions on the server. I had no write permissions set so once I changed those it uploaded the file.
Participating Frequently
March 24, 2008
Any error msg?

Are you sure that you have the destination directories on your disk?
weswhite7Author
Inspiring
March 24, 2008
Yes, I am positive. The first file uploads fine, it shows up in the directory as it always has. I just added a thumbnail upload slot and that is the part that does not upload. The correct would be file paths go into the database correctly for both with the proper file names, for some reason the second file just does not upload to the specified folder.