Re: Uploading files

Posted by Hank Ratzesberger on
URL: https://discuss.orbeon.com/Uploading-files-tp30091p30092.html

There is an execute-processor, by which you may be able to
call a command line zip/unzip.  Then there are issues
of local workspace and cleanup of local files.  I'm not
sure if it becomes more work than a custom processor.

No documentation yet.  Attached is sample pipleline.

Erik wrote this as a, how can I say this without an
English colloquial, sine qua non, integration step
so it is just enough, no frills.

Regards
Hank
UCSB


----- Original Message -----
From: "Peymirat Damien" <[hidden email]>
To: <[hidden email]>
Sent: Monday, August 21, 2006 12:20 PM
Subject: Re: RE : [ops-users] Uploading files


> Ok for the zip file, but Can I use this zip file with Orbeon (to have the
> main schema and all the dependant schemas) ??
>
>
> Thank you for your help
>
> Best regards
>
> Damien.
>
>
>> You can upload a zip file, but the user will have to create the zip
>> first, which may or may not be convenient in your case.
>>
>> Upload from web browsers is just very limited. This is in part why you
>> see all those photo sharing web sites coming up with their own little
>> upload tools.
>>
>> -Erik
>>
>> Peymirat Damien wrote:
>>> Thank you Erik,
>>>
>>>    Is there a solution to upload a folder to the server ?? Or a zip file
>>> ??
>>>
>>> Thanks again
>>>
>>> Damien.
>>>
>>>
>>>> Damien,
>>>>
>>>>  > All the files (main.xsd and base.xsd) are on a client's computer. So
>>>>  > I upload the main.xsd like this :
>>>>
>>>> [...]
>>>>
>>>>  > My problem is that I can't see how to upload the import element of
>>>>  > main.xsd without asking the user. When I have uploaded the main.xsd,
>>>>  > the only informations I have is <xs:import
>>>>  > namespace="http://www.example.com/SYS/base/2.0/
>>>>  > schemaLocation="SYS/base/2.0/base.xsd"/> . And I don't know how to
>>>>  > upload the file base.xsd (which is on client's computer) to the
>>>>  > server ???
>>>>
>>>> There is no way to do that as far as I know. A web browser allows you
>>>> to upload files that are explicitly selected by the user, and for
>>>> obvious security reasons web applications do not have access to the
>>>> client's hard drive.
>>>>
>>>> I think you will have to tell your users to select for upload not only
>>>> the main schema, but all the dependent schemas as well.
>>>>
>>>> -Erik
>>>>
>>>> --
>>>> Orbeon - XForms Everywhere:
>>>> http://www.orbeon.com/blog/
>>>>
>>>>
>>>
>>>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

execute-command.xpl (2K) Download Attachment