Kamen TOMOV wrote:
Is uploading recursively directories to a web server possible
with JavaScript?
Not using javascript from a remote web sites under the standard security
restrictions (the browser does not normally expose the local files
system, or facilitate the loading of files from the local computer into
a variable).
I mean is it possible read a directory recursively and
dynamically construct <input type="file"> with value
- the path to the corresponding file and call submit
with the script.
In Windows IE, with security practically disabled, you can do exactly
that (You can instantiated a Scripting.FileSystemObject activeX object
and read the entire file system, including all the file names in all
directories). But with that level of security you can also re-format the
user's hard drives so you cannot expect these facilities over the public
Internet.
Richard.