Re: uploading entire directory, with or without compression ...

From: Date: Wed, 02 Apr 2003 14:29:43 +0000
Subject: Re: uploading entire directory, with or without compression ...
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-141993@lists.php.net to get a copy of this message
At 16:15 2-4-03, you wrote: Um, i had a look at the FTP options, (I honestly have no idea about the security implications) but i saw only directory functions for the server. http://www.php.net/manual/en/ref.ftp.php but maybe one of the finished applications: http://nanoftpd.sourceforge.net/ (i never tried it) found a solution. ------------ Or maybe, i am just thinking aloud, you need to write some javascript that explores the directory on the local PC (can javascript see them?) and sends the list of names in a hidden formfield, with that you could try to make a form page that you send to them, with the file fields already filled out, and that is then automagically submitted immediately. At 16:08 2-4-03, you wrote:
yes, of course they can ... but i'm looking for a way to automate the process for them (a method which may not exist) .. i suppose i can give them the option to upload multiple files using multiple input fields, but I'd really like to find a way to select an entire folder instead ... ----- Original Message ----- From: "Marek Kilimajer" <kilimajer@webglobe.sk> To: "Kenn Murrah" <kenn@thebytebusiness.com> Cc: "php list" <php-general@lists.php.net> Sent: Wednesday, April 02, 2003 7:47 AM Subject: Re: [PHP] uploading entire directory, with or without compression ... Your clients can zip the folder, upload the zip file, and then you can on the server side use PclZip class to read the content Kenn Murrah wrote:
Greetings. I have a web site which permits my clients to upload a file via php4, and
it
works great ... however, some clients have requested that they be able to upload entire directories from their windows or macintosh computers ...
that
is, to select the entire folder rather than doing one file at a time. Is this possible? And perhaps related: could a script be contructed to create an archive
file
on the client side which, in turn, could be uploaded? That would achieve the same effect by allowing the client to create an archive with multiple files. I can't really see how that would be possible in PHP, but I'm hoping one
of
you much more experienced folks could see a solution. Thanks in advance.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#141993) next »