-
1. Re: Uploading directory
paginaweb Mar 14, 2004 3:50 PM (in response to g00se)I don't think you can do that with an usual upload form. Not even some usual java script can't do that...
PaginaWeb
http://www.paginaweb.ro -
2. Re: Uploading directory
julien1 Mar 14, 2004 3:51 PM (in response to g00se)yes that would be cool someone works on it.
-
3. Re: Uploading directory
g00se Mar 14, 2004 4:22 PM (in response to g00se)yes that would be cool someone works on it
OK. I'll take it that this can't be done yet cooper.
The only way i can think that this may be done in the current context (i.e. a web page) is to use a signed applet, which is a bit of a pain.
It's almost more appealing to make it happen from a standalone app, but i'm still very much a newb in this area. Would it be possible to point me in the direction of connecting to the required component(s)? I tried a bit of JNDI code from an app, but wasn't allowed to connect. Maybe an authentication thing..? -
4. Re: Uploading directory
fozzy Mar 16, 2004 9:52 AM (in response to g00se)How about the ability to upload a zip archive? This would allow the existing form to work, and there would just need to be an action after uploading to unzip in the targeted directory.
-
5. Re: Uploading directory
g00se Mar 16, 2004 11:00 AM (in response to g00se)Uploading a zip archive would not be of any use. The file system is not used - a database is - so there'd be no way of unzipping it
-
6. Re: Uploading directory
julien1 Mar 16, 2004 11:05 AM (in response to g00se)you are wrong, I did it. just use a ZipInputStream with the content in memory.
-
7. Re: Uploading directory
g00se Mar 16, 2004 12:07 PM (in response to g00se)OK but that's suggesting a different approach is it not? i.e. rewriting the module so that you can get programmatic access to the archive inside the module? Is that what you mean?
-
8. Re: Uploading directory
julien1 Mar 16, 2004 12:17 PM (in response to g00se)when someone upload an archive, it is dezipped and each entry is inserted in the database.
when someone need to backup, he selects entries and can download the generated archive