Package: curlftpfs
Version: 0.9.2-1
Severity: normal

Hi, 

I can't use rsync with curlftpfs. The problem is exactly as the
following posts:

rsync over ftp problem
http://www.linuxforums.org/forum/ubuntu-help/140062-rsync-over-ftp-problem.html

error using rsync with curlftpfs
http://www.murga-linux.com/puppy/viewtopic.php?t=16902&sid=308d52fa0914e789e1620fc3c95f89e2
http://www.linuxmint-art.org/content/show.php?action=knowledgebase&content=94391&kbid=162&PHPSESSID=a4367411c755bfad272e2cd1f40c7f75

I.e., 

  rsync: mkstemp "/dir/.file.pdf.0pkvjU" failed: Operation not supported (95)

Then I tried the simplest one cp:

 seq 100 > /tmp/test.txt

 $ wc /tmp/test.txt
 100 100 292 /tmp/test.txt

 curlftpfs -v -d ftp.host.net /mnt/share

Then in another xterm:

 $ cd /mnt/share/test/

 $ cp /tmp/test.txt . 
 cp: closing `./test.txt': Input/output error

I.e., the simplest method, cp, fails with curlftpfs as well. Detail
log as follows:

------------------------------------------------------------
unique: 5, opcode: GETATTR (3), nodeid: 2, insize: 56
   unique: 5, error: 0 (Success), outsize: 112
unique: 6, opcode: LOOKUP (1), nodeid: 2, insize: 49
LOOKUP /test/test.txt
* Re-using existing connection! (#0) with host ftp.host.net
* Connected to ftp.host.net (19x.16x.x.x) port 21 (#0)
> CWD /
< 250 Directory successfully changed.
> CWD test
< 250 Directory successfully changed.
> PASV
* Connect data stream passively
< 227 Entering Passive Mode (19x,16x,x,x,41,121)
*   Trying 19x.16x.x.x... * connected
* Connecting to 19x.16x.x.x (19x.16x.x.x) port 10617
> LIST -a
< 150 Here comes the directory listing.
* Maxdownload = -1
* Remembering we are in dir "test/"
< 226 Directory send OK.
* Connection #0 to host ftp.host.net left intact
   NODEID: 3
   unique: 6, error: 0 (Success), outsize: 136
unique: 7, opcode: SETATTR (4), nodeid: 3, insize: 128
* Re-using existing connection! (#0) with host ftp.host.net
* Connected to ftp.host.net (19x.16x.x.x) port 21 (#0)
* Request has same path as previous transfer
> PASV
* Connect data stream passively
< 227 Entering Passive Mode (19x,16x,x,x,167,69)
*   Trying 19x.16x.x.x... * connected
* Connecting to 19x.16x.x.x (19x.16x.x.x) port 42821
> TYPE I
< 200 Switching to Binary mode.
> STOR test.txt
< 150 Ok to send data.
* Remembering we are in dir "test/"
< 226 File receive OK.
* Connection #0 to host ftp.host.net left intact
* Re-using existing connection! (#0) with host ftp.host.net
* Connected to ftp.host.net (19x.16x.x.x) port 21 (#0)
* Request has same path as previous transfer
> PASV
* Connect data stream passively
< 227 Entering Passive Mode (19x,16x,x,x,147,33)
*   Trying 19x.16x.x.x... * connected
* Connecting to 19x.16x.x.x (19x.16x.x.x) port 37665
> TYPE A
< 200 Switching to ASCII mode.
> LIST -a
< 150 Here comes the directory listing.
* Maxdownload = -1
* Remembering we are in dir "test/"
< 226 Directory send OK.
* Connection #0 to host ftp.host.net left intact
   unique: 7, error: 0 (Success), outsize: 112
unique: 8, opcode: OPEN (14), nodeid: 3, insize: 48
   unique: 8, error: 0 (Success), outsize: 32
OPEN[27768224] flags: 0x8001 /test/test.txt
unique: 9, opcode: GETXATTR (22), nodeid: 3, insize: 68
   unique: 9, error: -38 (Function not implemented), outsize: 16
unique: 10, opcode: WRITE (16), nodeid: 3, insize: 356
WRITE[27768224] 292 bytes to 0
* Re-using existing connection! (#0) with host ftp.host.net
* Connected to ftp.host.net (19x.16x.x.x) port 21 (#0)
* Request has same path as previous transfer
> PASV
* Connect data stream passively
< 227 Entering Passive Mode (19x,16x,x,x,102,201)
*   Trying 19x.16x.x.x... * connected
* Connecting to 19x.16x.x.x (19x.16x.x.x) port 26313
> LIST -a
< 150 Here comes the directory listing.
* Maxdownload = -1
* Remembering we are in dir "test/"
< 226 Directory send OK.
* Connection #0 to host ftp.host.net left intact
* About to connect() to ftp.host.net port 21 (#0)
*   Trying 19x.16x.x.x... * connected
* Connected to ftp.host.net (19x.16x.x.x) port 21 (#0)
< 220 (vsFTPd 2.0.5)
> USER user
< 331 Please specify the password.
> PASS pass
< 230 Login successful.
> PWD
< 257 "/"
* Entry path is '/'
> CWD test
< 250 Directory successfully changed.
> PASV
* Connect data stream passively
< 227 Entering Passive Mode (19x,16x,x,x,54,231)
*   Trying 19x.16x.x.x... * connected
* Connecting to 19x.16x.x.x (19x.16x.x.x) port 14055
> TYPE I
< 200 Switching to Binary mode.
> STOR test.txt
< 150 Ok to send data.
   WRITE[27768224] 292 bytes
   unique: 10, error: 0 (Success), outsize: 24
unique: 11, opcode: FLUSH (25), nodeid: 3, insize: 64
FLUSH[27768224]
* Remembering we are in dir "test/"
< 226 File receive OK.
* Uploaded unaligned file size (292 out of 4294967295 bytes)
* Connection #0 to host ftp.host.net left intact
> QUIT
< 221 Goodbye.
* Closing connection #0
ftpfs: operation ftpfs_flush failed because Input/output error
   unique: 11, error: -5 (Input/output error), outsize: 16
unique: 12, opcode: RELEASE (18), nodeid: 3, insize: 64
RELEASE[27768224] flags: 0x8001
   unique: 12, error: 0 (Success), outsize: 16
------------------------------------------------------------

Thought cp fails, the file uploaded fine (292B fully uploaded). 

Please investigate. 

Thanks

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (300, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-grml64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages curlftpfs depends on:
ii  fuse-utils                    2.7.4-1.1  Filesystem in USErspace (utilities
ii  libc6                         2.9-4      GNU C Library: Shared libraries
ii  libcurl3-gnutls               7.18.2-8.1 Multi-protocol file transfer libra
ii  libfuse2                      2.7.4-1.1  Filesystem in USErspace library
ii  libglib2.0-0                  2.20.0-2   The GLib library of C routines

curlftpfs recommends no packages.

curlftpfs suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to