Reply to Re: Uploading files to a web-server

Your name:

Reply:


Posted by chotiwallah on 09/21/05 10:31

subscriptions@easypeas.net wrote:
> Basically, I want to make the process as user-friendly (read: idiot
> proof) as possible, so I want to avoid intermediate steps like WebDAV
> or FTP. This would certainly work, and I'll use it if I can't find
> anything else. (I suspect that I may end up using FTP via Java/Ant.)
>
> Basically I want something that runs entirely in the background.
> Ideally, the user would select a file from their computer using my
> client application. The file would then be uploaded to the right
> remote folder with the right permissions, and also might cause other
> remote files to be change (say, a list of available images).

not sure what you're going to do with the files once they're on the
server (who is allowed to change/delete/see/whatever them), and how
many users you have to manage, but what comes to mind i s this:

just use 1 upload folder either outside the doc root or blocked by
..htaccess and handle the files through the php file system functions
(this script would have to take care of credentials also)

keep track of the files and their owners with a database

micha

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация