Author Topic: Permission denied writing export file  (Read 4168 times)

russ

  • Posts: 21
    • View Profile
Permission denied writing export file
« on: May 13, 2004, 11:04:28 am »
I'm trying to export a list that I can compare #s on and see that approx 60 people have been deleted. Here is what I get when I try to export:


Warning: fopen("./attach/Export.CSV", "w") - Permission denied in /var/www/html/mailer/edituser.php on line 932
Error opening ./attach/Export.CSV for writing. Is your attach folder CHMOD to 777?

yes, it's at 777.

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Permission denied writing export file
« Reply #1 on: May 13, 2004, 03:53:46 pm »
via FTP, check if an Export.CSV file already exists.  If it does, delete it.   If this file was uploaded via FTP then the web server (running the script) will not be allowed to overwrite the file.
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

russ

  • Posts: 21
    • View Profile
Permission denied writing export file
« Reply #2 on: May 13, 2004, 04:59:27 pm »
ok, I deleted the file and the software now says:  

Exporting users, please wait.. Done
To download the file, Click Here. You may also want to rename the file.
To delete the file from the server (a good idea), Click Here

When I click the download file, it opens excel, but the list is over 55k, so I get "file not loaded completely", so that is useless.

Then I look and can find no .csv file in the "attach" folder - or anywhere...

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Permission denied writing export file
« Reply #3 on: May 13, 2004, 05:09:11 pm »
It is unfortunate but Excel does have limitations on the number of entries it can show.  I believe the row limit is 65536.  Try right clicking on the "Download" button, save the file to your hard drive, then open it with a program like Notepad or WordPad.  The Export.CSV file should also appear in your attach folder (before you click Delete, anyway) and be accessible by FTP.
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting