|26 Aug 2008, 13:22|
Joined: 26 Aug 2008
I'm currently using v1 in a public hoster environment and doing the picture uploads via FTP. Now this seems to change in v2 as the upload can be done (must be done?) via the PHP interface.
In this public hoster environment every file that's beeing created by a php script is then owned by the unix user "wwwrun". That's nothing that can be changed and I do not have access to this user account (it's managed and owned by the provider). This of course means that every further manipulation of a directory or file owned by wwwrun must be done by this user i.e. by a php script. (e.g. I cannot delete or move a file via FTP client as my FTP user account does not have the necessary write rights.)
If I do the upload via FTP the JPEGs are of course owned by my FTP user account and the php "user" will have read access only (unless I would grant the user/group "everyone" full access -> chmod 777 to the JPEGs, which - I think - is not a good idea anyway.)
So my question here is: Does V2 force me to only use the php interface to upload (move, delete,...) images or may I stick with me preferred method of uploading files via FTP and are there any (severe) limitations that I would need to consider?
So,... are there limitatins that just would hinder me from using some not mandatory features or would using an FTP client (which would grant the V2 php script just read access to the JPEGs) break the concept of V2?
In one sentence: Would using FTP for uploading in this scenario be supported?
I hope I was able to make my point clear and would really appreciate if someone could give me some insight here!
P.S. and keep up the great work in imagevue... I really like that!!
|26 Aug 2008, 22:25||Re: JPEG ownership and access rights in public hoster environmen|
Imagevue HitmanJoined: 2 May 2006
Ofcourse if you set up everything already so ftp uploader dirs are writable for php, leave it like that and dont bother.
Unix filesystem is bit too advanced and without proper administration could be pain in the butt.
I usually have ftp mounted into my filesystem and just copy files to content dir, without bothering with uploader. Just copy over and files will appear in imagevue.
Nick // Imagevue
dear-apple.com jaconda.im indexr gridpapr
|03 Sep 2008, 05:20||Re: JPEG ownership and access rights in public hoster environmen|
Imagevue WizardJoined: 30 Sep 2006
You can use FTP to create folders and upload images! I do this myself because I still prefer the file/folder management in FTP.
The only things you may have to make sure of, is that you set permissions for your folders, and you may need to "Clear cache" from admin after managing from FTP to reflect changes.
Of course, you still need to use the admin to create titles, descriptions and thumbnails etc.
Karl / mjau-mjau