Mission Posted December 23, 2005 Posted December 23, 2005 I run a few features on my web site that need to automatically upload files to a subdirectory on my site via FTP. I'm trying to run a php code and I keep getting failures on the auto uploads. It seems as though if I don't create a specific FTP account, the auto uploads give me failures to upload. However, I need to upload data to an existing subdirectory, not to an FTP user account. Is this possible? Thanks. Quote
TCH-Bruce Posted December 23, 2005 Posted December 23, 2005 Setting up an FTP account such as folder@yourdomain.ext and setting the path to the folder should do what you want. When you log into this FTP account it will already be in the folder you want to upload. If you try to use php to do the upload the permissions on the folder will have to be 777 so the web server can write to it. Am I missing something? Quote
Mission Posted December 24, 2005 Author Posted December 24, 2005 Setting up an FTP account such as folder@yourdomain.ext and setting the path to the folder should do what you want. When you log into this FTP account it will already be in the folder you want to upload. If you try to use php to do the upload the permissions on the folder will have to be 777 so the web server can write to it. Am I missing something? Nope, I was! Thanks, Bruce! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.