Re: GNOME_VFS_OPEN_RANDOM in the ftp module
- From: Jan Kratochvil <rcpt-gnome-vfs-list AT gnome org jankratochvil net>
- To: Manuel Clos <llanero eresmas net>
- Cc: gnome-vfs-list gnome org
- Subject: Re: GNOME_VFS_OPEN_RANDOM in the ftp module
- Date: Sun, 28 Sep 2003 13:35:56 +0200
Hi,
On Sun, 28 Sep 2003 13:25:04 +0200, Manuel Clos wrote:
...
> While trying to open a ftp uri for reading, I got:
>
> (process:7497): gnome-vfs-modules-WARNING **: Unsupported open mode 5
gnome-vfs-2.3.8/modules/ftp-method.c/do_open():
if (mode == GNOME_VFS_OPEN_READ) {
} else if (mode == GNOME_VFS_OPEN_WRITE) {
} else {
g_warning ("Unsupported open mode %d\n", mode);
Correct as Gnome-VFS ftp:// currently does not support .seek().
> Is GNOME_VFS_OPEN_RANDOM meant to be used when you want only a part of
> the file? say from position 100 to 200 ?
Yep.
> Does this mean ftp transfers can't be resumed right now?
gnome-vfs-2.3.8/modules/ftp-method.c/method[]:
NULL, /* seek */
Nope. Seeking in http is pending:
http://bugzilla.gnome.org/show_bug.cgi?id=121194
Use The Source, Luke.
Lace
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]