[thelist] Client-side code to upload all files in client directory?

Brooking, John John.Brooking at sappi.com
Mon Feb 13 12:54:56 CST 2006


Hi, list,

   I've been writing some PHP/GD image manipulation code to assist in
uploading lots of files and doing automatic resizing on them. (I know
there are tons of free photo display sites out there, but I wanted to be
able to build my own pages, so I'm writing some PHP objects to be an
"image gallery API".) I just spent a few hours last weekend uploading
several dozen images through my software, which automatically makes a
thumbnail and a screen-sized image of each.
   
   For about 20 minutes last night, I had the bright idea that I could
automatically upload all files in a given client directory at once, and
save myself mucho time. It wouldn't even be that hard! Then, as I was
explaining it to my wife, it dawned on me: DUH! I can't do that! I can't
iterate a client machine's directory from server-side code! What was I
thinking?
   
   On further reflection, I'll be there's some client-side code around
that will do this - iterate a client directory and output the results to
some control on the page, which can then be submitted to the server.
Maybe an ActiveX or Java applet? Anyone know of anything like this? I'm
sure it's possible. Just curious.
   
- John

-- 


This message may contain information which is private, privileged or confidential and is intended solely for the use of the individual or entity named in the message. If you are not the intended recipient of this message, please notify the sender thereof and destroy / delete the message. Neither the sender nor Sappi Limited (including its subsidiaries and associated companies) shall incur any liability resulting directly or indirectly from accessing any of the attached files which may contain a virus or the like.




More information about the thelist mailing list