filesystem & system interactions?

10 views
Skip to first unread message

Jim

unread,
Dec 12, 2010, 7:36:56 PM12/12/10
to xul...@googlegroups.com
How does a xuljet application interact with the local filesystem?

How can it spawn local tasks (like zipping or unzipping a file/directory)?

Pavel Krivanek

unread,
Dec 13, 2010, 12:12:20 AM12/13/10
to xul...@googlegroups.com
Hi,

On Mon, Dec 13, 2010 at 1:36 AM, Jim <jtit...@gmail.com> wrote:
> How does a xuljet application interact with the local filesystem?

There are special Mozilla components for this tasks.
See:
https://developer.mozilla.org/en/Code_snippets/File_I//O
and
http://kb.mozillazine.org/Dev_:_Extensions_:_Example_Code_:_File_IO_:_jsio

> How can it spawn local tasks (like zipping or unzipping a file/directory)?

See https://developer.mozilla.org/en/Code_snippets/Running_applications
and
https://developer.mozilla.org/en/nsIProcess

XULJet will provide wrappers for this taks in the versons

Cheers,
-- Pavel

Pavel Krivanek

unread,
Dec 13, 2010, 12:18:00 AM12/13/10
to xul...@googlegroups.com
Work with archives is provided by Mozilla components too, for some
inspiration see Pencil [1] - one of few JavaScript XULRunner
applications.

[1] http://pencil.evolus.vn/en-US/Downloads/Application.aspx Pencil

-- Pavel

Jim Tittsler

unread,
Dec 13, 2010, 1:25:41 AM12/13/10
to xul...@googlegroups.com
On Mon, Dec 13, 2010 at 18:12, Pavel Krivanek <pavel.k...@gmail.com> wrote:
> On Mon, Dec 13, 2010 at 1:36 AM, Jim <jtit...@gmail.com> wrote:
>> How does a xuljet application interact with the local filesystem?
>
> There are special Mozilla components for this tasks.
[...]

> XULJet will provide wrappers for this taks in the versons

Thanks for the replies and the pointers. I've got some reading to do.
:-) It looks like an interesting combination of technologies.

Reply all
Reply to author
Forward
0 new messages