This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Webmaster forum > January 2007 > How would you do this?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How would you do this?
|
|
|
| We have a corporate intranet that certain users need to be able to upload
mutliple files and folders to that is also hosted on our internal internet
webserver. FTP is not really an option as files may be misplaced (users are
not infalliable!). Mapping a drive to the folder is not really an option
because the folder permissions for the entire webserver are not really
geared up to allowing write access to any old user (only the Administrator).
So, although I have a freeware ASP uploader mechanism that uploads up to 3
files at a time, I need something that can uploaded around 3 potential (not
zipped) _folders_ at a time each with multiple files inside them.
I really can't think of an easy way to code this up - I've used a mixture of
Java and ASP so far to copy over files from a readable folder on another
drive on the webserver machine that also copies the files to their correct
folders in the directory with the correct permissions, but I just don't know
how to upload multiple folders at a time without getting into really
hardcore programming territory.
Buying something is also not really an option, so have any of you got any
ideas as to either programmatically solve the problem - even if its in some
sort of idea or pseudo-code way?
TIA
| |
| GreyWyvern 2007-01-27, 11:09 pm |
| And lo, didst speak in alt.www.webmaster:
> So, although I have a freeware ASP uploader mechanism that uploads up to
> 3
> files at a time, I need something that can uploaded around 3 potential
> (not
> zipped) _folders_ at a time each with multiple files inside them.
How would I do it? I'd give them simple instructions on how to zip.
Problem solved.
Grey
--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollary that nothing is ridiculous.
- http://www.greywyvern.com/orca#search - Orca Search: Full-featured
spider and site-search engine
| |
|
| > How would I do it? I'd give them simple instructions on how to zip.
> Problem solved.
>
> Grey
Erm, unfortunately, the files are then to be downloaded from their final
resting place as PDF, or htm files, etc - they should not be uploaded as
zips, because the users will need the files as non-zips when they download
or view them...
| |
|
| nospam@invalid.invalid wrote:
>
> Erm, unfortunately, the files are then to be downloaded from their
> final resting place as PDF, or htm files, etc - they should not be
> uploaded as zips, because the users will need the files as non-zips
> when they download or view them...
Well, unzip them on the server...
--
Rik Wasmus
| |
| Toby Inkster 2007-01-27, 11:09 pm |
| nospam wrote:
> but I just don't know how to upload multiple folders at a time without
> getting into really hardcore programming territory.
You can't. Easy way is to ask the user to put the entire directory into a
ZIP file (Windows XP has this feature built in) and upload that. Your
server-side script can then expand the archive if required.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
| |
| Baho Utot 2007-01-27, 11:09 pm |
| nospam@invalid.invalid wrote:
> We have a corporate intranet that certain users need to be able to upload
> mutliple files and folders to that is also hosted on our internal internet
> webserver. FTP is not really an option as files may be misplaced (users
> are not infalliable!). Mapping a drive to the folder is not really an
> option because the folder permissions for the entire webserver are not
> really geared up to allowing write access to any old user (only the
> Administrator).
>
> So, although I have a freeware ASP uploader mechanism that uploads up to 3
> files at a time, I need something that can uploaded around 3 potential
> (not zipped) _folders_ at a time each with multiple files inside them.
>
> I really can't think of an easy way to code this up - I've used a mixture
> of Java and ASP so far to copy over files from a readable folder on
> another drive on the webserver machine that also copies the files to their
> correct folders in the directory with the correct permissions, but I just
> don't know how to upload multiple folders at a time without getting into
> really hardcore programming territory.
>
> Buying something is also not really an option, so have any of you got any
> ideas as to either programmatically solve the problem - even if its in
> some sort of idea or pseudo-code way?
>
> TIA
WebDAV
--
Dancin in the ruins tonight
Tayo'y Mga Pinoy
| |
|
| > Well, unzip them on the server...
> --
> Rik Wasmus
The reason we want the users to do it themselves manually is to avoid
further input from our IT department. Usually the users give the files to
the IT department to upload, so really, unzipping them will not get rid of
what we are trying to achieve as IT time will still be required.
| |
| Toby Inkster 2007-01-27, 11:09 pm |
| nospam wrote:
> The reason we want the users to do it themselves manually is to avoid
> further input from our IT department. Usually the users give the files to
> the IT department to upload, so really, unzipping them will not get rid of
> what we are trying to achieve as IT time will still be required.
What I assume Rik meant was not "manually unzip them on the server", but
rather "have your script automatically unzip them on the server".
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|