Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Upload directory from browser possible?

Reply
Thread Tools

Upload directory from browser possible?

 
 
Gary Mayor
Guest
Posts: n/a
 
      12-16-2003
Hi,
I was hopeing someone could tell me if there is a way to upload a
directory to a script from the browser. I can do it fine with a file at
a time but what about a directory.

Is this possible

Thanks

Gary

 
Reply With Quote
 
 
 
 
brucie
Guest
Posts: n/a
 
      12-16-2003
in post <news:brnt32$8si$>
Gary Mayor said:

> I was hopeing someone could tell me if there is a way to upload a
> directory to a script from the browser. I can do it fine with a file at
> a time but what about a directory.


http://www.cs.tut.fi/~jkorpela/forms/file.html#multi


--
brucie
17/December/2003 07:26:40 am kilo
 
Reply With Quote
 
 
 
 
Toby A Inkster
Guest
Posts: n/a
 
      12-16-2003
Gary Mayor wrote:

> I was hopeing someone could tell me if there is a way to upload a
> directory to a script from the browser. I can do it fine with a file at
> a time but what about a directory.


Ask the end user to put the whole directory into a ZIP file, upload that
and then unzip it at the other end.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
Talc Ta Matt
Guest
Posts: n/a
 
      12-16-2003
Another option is drag and drop FTP access on the webpage using JS.

I'm not sure exactly what you want to do, so that may not work.

 
Reply With Quote
 
JustAnotherGuy
Guest
Posts: n/a
 
      12-17-2003
Toby A Inkster wrote:
> Gary Mayor wrote:
>
>
>>I was hopeing someone could tell me if there is a way to upload a
>>directory to a script from the browser. I can do it fine with a file at
>>a time but what about a directory.

>
>
> Ask the end user to put the whole directory into a ZIP file, upload that
> and then unzip it at the other end.
>


Hm... so there's no mechanism to figure out if a user has selected
multiple files, the way applications can open multiple files?

 
Reply With Quote
 
Gary Mayor
Guest
Posts: n/a
 
      12-17-2003
Thanks for the replies the first answer was a bit depressing because
there seemed no way of doing it. Basically i'm trying to find an easy
way to upload a directory full of image files. At the moment i am asking
the user to zip the directory up then upload it which is a pain. So i'm
hoping there is a way using js or something.

Thanks


Gary Mayor wrote:
> Hi,
> I was hopeing someone could tell me if there is a way to upload a
> directory to a script from the browser. I can do it fine with a file at
> a time but what about a directory.
>
> Is this possible
>
> Thanks
>
> Gary
>


 
Reply With Quote
 
Disco Octopus
Guest
Posts: n/a
 
      12-18-2003
Gary Mayor wrote:
> Hi,
> I was hopeing someone could tell me if there is a way to upload a
> directory to a script from the browser. I can do it fine with a file
> at a time but what about a directory.
>
> Is this possible
>
> Thanks
>
> Gary


you could try an approach like this one......



<form name="whatsee">
<input name="filething" type="file"
onkeyup="document.whatsee.buttonthing.disabled = (this.value.length == 0)"
/>
<input name="buttonthing" type="submit" disabled value="get another file"
onClick="doWhatYouGottaDo()" />
<input name="gothing" type="submit" />
</form>


.... a bit of script in there, so take care in your reasoning to use it.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System.IO.Directory.GetDirectories() and System.IO.Directory.GetFiles() are not returning the specified directory Nathan Sokalski ASP .Net 2 09-06-2007 03:58 PM
File upload from client application (non-form based upload) stuart@microsoft.com Python 1 11-25-2006 12:14 AM
Upload a file without file Upload control - ASP.Net =?Utf-8?B?U2FyYXY=?= ASP .Net 3 08-03-2005 01:09 AM
How to detect sizeof upload in order to show status of browser file upload? Heather Fraser Java 0 07-05-2004 12:35 AM
Upload directory from browser Gary Mayor Perl Misc 2 12-17-2003 04:45 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57