The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
Direct upload is possible with PHP scripts that can do things with the file once it arrives on the server from a "userfile" form. What you do is to delete the file thats there now, and then copy the temp file from the upload, into the required directory.
I can get this to work fine when the file ends up in the HTDOCS folder. But the way my site is, I want the uploaded files to go into a separate folder *at the same level* as HTDOCS (i.e unavailable to most web users). And I'm getting authorisation errors from the server.
Trouble is, this sort of problem is easier to describe when you're showing someone rather than typing it. Its obviously to do with me not knowing Unix, and I've had serious grief before with access levels!
This php facility is great because it doesnt need my contributors to have an FTP client, and I can control the upload more than I could if they did ...
So - a wide-open question. Has anyone any similar experience? Or is there a Freeola techie listening who might be able to help?
Hum.
More hosts should allow telnet/SSH access, ftp's management commands are depressingly restrictive.
Go play.
I have created directories before at teh same level of htdocs and been able to write to them, but play with CHMOD a bit. It works the same as your WS_FTP one, but you need to prefix the octal with "0" as detailed.
Direct upload is possible with PHP scripts that can do things with the file once it arrives on the server from a "userfile" form. What you do is to delete the file thats there now, and then copy the temp file from the upload, into the required directory.
I can get this to work fine when the file ends up in the HTDOCS folder. But the way my site is, I want the uploaded files to go into a separate folder *at the same level* as HTDOCS (i.e unavailable to most web users). And I'm getting authorisation errors from the server.
Trouble is, this sort of problem is easier to describe when you're showing someone rather than typing it. Its obviously to do with me not knowing Unix, and I've had serious grief before with access levels!
This php facility is great because it doesnt need my contributors to have an FTP client, and I can control the upload more than I could if they did ...
So - a wide-open question. Has anyone any similar experience? Or is there a Freeola techie listening who might be able to help?