I am having trouble setting up a system that I want. I have a php routine that takes an html form and puts it into a .pdf file. I want to write the .pdf file to a customer’s subdirectory that they will access by either FTP or WebDav (I’d prefer WebDav because the iPad app to handle pdfs does a good job with syncing thru WebDav.)
I tried setting this up using FTP but it won’t allow the owner and the customer to have equal write/read accesses to the customer’s folder while forbidding the customer from accessing higher directories where the php and blanks forms live.
I tried using WebDAV with no password protection, as stated in the above note, but it will not allow my php routine to write TO the directory set up for WebDAV. (when I turn WebDAV off, the routine writes perfectly, but then we are back to the FTP problems.)
How can I get this owner/customer model to work? I want to write the outputted pdfs to a Dreamhost folder, and really don’t want to involve Dropbox or Sugarsync. So far they are my only option for this to really work, but they introduce another link to break in the chain.
(the customer only needs to read, not write, but because the iPad’s “send to” renames the pdf file when sending it from Safari to the PDF app, I can’t use the .htaccess password scheme of protecting other customers from reading the pdfs in another customer’s folder)