Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #40279

Re: Upload directory

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Upload directory
Date 2021-07-01 12:55 +0200
Organization PointedEars Software (PES)
Message-ID <6351394.aQ5ZTYclbD@PointedEars.de> (permalink)
References <9rudnW-JDaqHiUD9nZ2dnUU7-WvNnZ2d@westnet.com.au>

Show all headers | View raw


Andrew Poulos wrote:

> How do you allow the user to select a directory (that includes multiple
> files and  sub-directories) and then upload that to a server while
> keeping the existing directory structure?

Accept only (compressed) archive files:

<https://en.wikipedia.org/wiki/List_of_archive_formats>

Every modern file manager includes a way now to create such an archive file.
 
-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Upload directory Andrew Poulos <ap_prog@hotmail.com> - 2021-07-01 11:02 +1000
  Re: Upload directory JJ <jj4public@gmail.com> - 2021-07-01 13:10 +0700
  Re: Upload directory Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-07-01 12:55 +0200
    Re: Upload directory Andrew Poulos <ap_prog@hotmail.com> - 2021-07-02 08:34 +1000
      Re: Upload directory Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-07-02 02:26 +0200

csiph-web