Hello, On Tuesday 05 of June 2007, Stefan Kost wrote: > Hi, > > I tried to figure out about this once as well and I think you miss the ':'. > Does > this work for you? > > $ gnomevfs-info "ftp://[EMAIL > PROTECTED]/hello.tar.gz#gzip:#tar:/hello/hello.c" > > Stefan >
no, it doesn't: $ gnomevfs-info "ftp://[EMAIL PROTECTED]/hello.tar.gz#gzip:#tar:/hello/hello.c" Error: File not found BUT: $ gnomevfs-info "ftp://[EMAIL PROTECTED]/hello.tar.gz#gzip:#tar/hello/hello.c" Name : hello.tar Type : Regular MIME type : application/x-tar Size : 285 Blocks : 1 I/O block size : 32768 Local : NO SUID : NO SGID : NO Sticky : NO Link count : 1 UID : 500 GID : 500 Access time : Sat May 12 20:34:00 2007 Modification time : Sat May 12 20:34:00 2007 Change time : Sat May 12 20:34:00 2007 this time it at least decompresses gzip. And another permutation of the sytax is interesting too: $ gnomevfs-info "ftp://[EMAIL PROTECTED]/hello.tar.gz#gzip#tar:/hello/hello.c" Segmentation fault (SIGSEGV) Listing of the tar.gz file: [EMAIL PROTECTED] ftp]$ tar ftv hello.tar.gz drwx------ jara/jara 0 2007-05-12 22:34:31 ./ drwxrwxr-x jara/jara 0 2007-05-12 22:34:31 ./hello/ -rw-r--r-- jara/jara 35 2007-05-12 22:34:31 ./hello/Makefile -rw-r--r-- jara/jara 79 2007-05-12 22:34:31 ./hello/hello.c > Jaroslav Sykora wrote: > > Hello, > > > > I am trying to chain VFS modules according to URI syntax described at > > http://developer.gnome.org/doc/API/gnome-vfs/writing-modules.html > > > > But I it doesn't work, it ignores everything after the '#': > > > > $ gnomevfs-info "ftp://[EMAIL > > PROTECTED]/hello.tar.gz#gzip#tar/hello/hello.c" > > Name : hello.tar.gz > > Type : Regular > > MIME type : application/x-compressed-tar > > Size : 285 > > Blocks : 1 > > I/O block size : 32768 > > Local : NO > > SUID : NO > > SGID : NO > > Sticky : NO > > Link count : 1 > > UID : 500 > > GID : 500 > > Access time : Sat May 12 20:34:00 2007 > > Modification time : Sat May 12 20:34:00 2007 > > Change time : Sat May 12 20:34:00 2007 > > > > What could possibly be the problem? > > Or what is the right syntax for accesing zip/tar.gz file? > > > > (Gnome v. 2.16.3, Fedora 6) > > > > Thanks in advance, > > -- Jara > > > > -- It's easy to get on the internet and forget you have a life _______________________________________________ gnome-vfs-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-vfs-list
