Log in

View Full Version : How to make Attachments upload to my ftp ?


69lakalle
05-09-2007, 08:53 PM
i see that when i upload an attachment it goes to my database .. how do i make it go to a folder in my ftp ?

HMBeaty
05-09-2007, 08:57 PM
Go to your admincp > attachments > attachment storage type

69lakalle
05-09-2007, 09:10 PM
Your server has PHP's SAFE_MODE enabled. You can not move attachments to files while SAFE_MODE is enabled. Please contact your host and ask them to consider disabling it if you wish to use the file system for attachments.


whats is that ?????

HMBeaty
05-09-2007, 10:13 PM
It's exactly what it says. Therefore.....
Please contact your host and ask them to consider disabling it if you wish to use the file system for attachments.

MrPHD
05-10-2007, 09:01 AM
Hi ppl, if your Host running on Safe mode, note is not by default for many hosting companys, you can disabaled on your Admincp or you create on attachments folder one folder name "ec_tmp" and give permissions or chmod 777. Have a nice day. regards

69lakalle
05-14-2007, 09:15 PM
you create on attachments folder one folder name "ec_tmp" and give permissions or chmod 777

Thank you for your answer
hows that ?
please tell me

Guest210212002
05-15-2007, 02:14 AM
I'm not 100% sure it will work, but you can disable safe mode in PHP per directory with .htaccess.

Just create a file called .htaccess with:


php_value safe_mode "1"


As the contents, and upload it to your /attach directory.