Author Topic: Can't upload a file to be an attachment  (Read 1355 times)

nanharbison

  • Posts: 4
    • View Profile
Can't upload a file to be an attachment
« on: April 02, 2005, 12:15:02 pm »
I get this error message:

Warning: move_uploaded_file(./attach/2005WORKPARTYRULES.doc): failed to open stream: Permission denied in /home3/heritage/heritageconcord-www/sendemail/upload.php on line 74

I have chmod'ed it on the webserver, and allowed sharing of these files on my computer. I thought the file location would go to the webserver, but it is looking for a file to attach on my computer.

So I don't know where to go from here,
Thanks for any help!
Nan

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Can't upload a file to be an attachment
« Reply #1 on: April 02, 2005, 08:06:53 pm »
Hi Nan,

You do not need to allow sharing of the files on your computer.  The "Browse" functionality is a web-based file upload built into the web browser.  If your attach folder is indeed chmod to 777 and you're still getting an error then there is, perhaps, a server limitation.

Since I am unsure about a solution, what you should do is upload your file to the ListMail directory and manually type the filename into the 2nd box on the Import page.

Regards!
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

nanharbison

  • Posts: 4
    • View Profile
Can't upload a file to be an attachment
« Reply #2 on: April 03, 2005, 03:17:03 am »
Dean, I figured out later that I should have changed the chmod on the ListMail folder, not the files to be uploaded. This was not clear in the help files of ListMail, the section about attaching a file, which just said to change the chmod to 777, but didn't say which files. Probably to a more savvy user you would not need to say that.
Thanks for your reply.
Nan