Don't top-post. # gdmfer@xxxxxxxxx / 2006-10-23 20:35:16 -0500: > On 10/23/06, tedd <tedd@xxxxxxxxxxxx> wrote: > >At 8:42 PM +0100 10/23/06, Stut wrote: > >>Rob Kritzer wrote: > >>>Is it possible to FTP a folder and all it's content? I can do a > >>>file at a time, but not a folder. > >>> > >>>Also there is times when I will not know the folder name, so I > >>>would like it to just upload everything it finds in the folder I > >>>set. > >>> > >>>Is this possilbe? > >> > >>Yes[1][2]. > >> > >>[1] http://catb.org/~esr/faqs/smart-questions.html > >>[2] There is no function to upload a folder, but it's quite easy to > >>code. Check out http://php.net/glob and/or http://php.net/readdir > > > >Perhaps I'm confused (certainly could be), but I think the OP is > >asking for a way to upload multiple files from a desktop folder to a > >server (client-side to sever-side) by just selecting the desktop > >(client-side) folder. > > Yes Tedd, > > This is what I am having trouble with, I can see where you can upload > each file, but all I really need it to do is take the contents of a > folder and upload everything it finds in the directory. This is unrelated to PHP. And please: 1. You asked about "FTPing" whole directories. 2. You meant to ask about a feature missing from your browser that would allow you to mark whole directories for upload. "FTP a folder" is already pretty vague but the second problem makes this moot anyway. Do read the catb.org reference carefully. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php