Re: RE : Uploading files

Posted by damien.peymirat on
URL: https://discuss.orbeon.com/Uploading-files-tp30091p30108.html

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
>
>
> --
> 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