phototrunk Posted August 7, 2008 Share Posted August 7, 2008 I'm losing my marbles over this one. My nephew (computer science major) built a php order form for my web site, it's really cool. The order form is set up that if a client wants to place an order, they can checkmark the particular service/s they need and upload up to 6 restricted-type images. When the client fills out the customer info area, an ftp account/folder is automatically created for them in a folder named 'upload' and their uploaded images are saved in that folder along with a text file of the information they filled out on the order form. He's tested the form out and so have I. Consequently, with all the testing between us, there are probably 15 test-accounts in that 'upload' folder along with garbage test images. I am trying to delete those files and no matter how I'm trying to do it, they won't budge! I've tried by loggin in to my main/ administrator ftp account and doing it that way... nope, that won't work. I've tried from the cpanel in file manager and the legacy file manager. Still, those files within the 'upload' folder will not go away. I sure hope that you guys can help me. Thanks, Sue Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted August 7, 2008 Share Posted August 7, 2008 If those files were created by a php script you can use a php script to remove them. They have been created as the user 'nobody' and probably why you are having difficulty removing them. If you still can't get them deleted you can open a ticket with the help desk and ask them to change the ownership/permissions on those files so you can delete them or have them delete them for you. Link to the help desk at top of page or in my signature. Quote Link to comment Share on other sites More sharing options...
phototrunk Posted August 7, 2008 Author Share Posted August 7, 2008 So... I would have to look in one of the php files to find the instructions that the script is giving to create those files? Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted August 7, 2008 Share Posted August 7, 2008 The scripts will run as user 'nobody' you can't change that. You need to write scripts to clean up after themselves. Quote Link to comment Share on other sites More sharing options...
phototrunk Posted August 7, 2008 Author Share Posted August 7, 2008 Ok, I'm moving on to the Help Desk to see if you guys can delete those folders for me because I'm extremely limited to basic knowledge of html; php might as well be rocket science. Thank you for your responses Quote Link to comment Share on other sites More sharing options...
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.