Hi,
I am trying to use curlftpfs with a ftp server on windows and have problems when writing to files. Everything else seems to work (listing folders, reading files, creating folders, creating empty files). Here is the debugging output of "echo 123 > q.txt" (which fails with "-bash: echo: write error: Input/output error)":
unique: 184, opcode: LOOKUP (1), nodeid: 1, insize: 46, pid: 4327
LOOKUP /q.txt
getattr /q.txt
ftpfs: operation ftpfs_getattr failed because No such file or directory
unique: 184, error: -2 (No such file or directory), outsize: 16
unique: 185, opcode: CREATE (35), nodeid: 1, insize: 62, pid: 4327
create flags: 0x8241 /q.txt 0100664 umask=0002
ftpfs: operation ftpfs_chmod failed because Operation not permitted
create[139910036070720] flags: 0x8241 /q.txt
getattr /q.txt
NODEID: 22
unique: 185, success, outsize: 160
unique: 186, opcode: FLUSH (25), nodeid: 22, insize: 64, pid: 4327
flush[139910036070720]
ftpfs: operation ftpfs_flush failed because Input/output error
unique: 186, error: -5 (Input/output error), outsize: 16
unique: 187, opcode: WRITE (16), nodeid: 22, insize: 84, pid: 4327
write[139910036070720] 4 bytes to 0 flags: 0x8001
unique: 187, error: -5 (Input/output error), outsize: 16
unique: 188, opcode: FLUSH (25), nodeid: 22, insize: 64, pid: 4327
flush[139910036070720]
unique: 188, success, outsize: 16
unique: 189, opcode: RELEASE (18), nodeid: 22, insize: 64, pid: 0
release[139910036070720] flags: 0x8001
unique: 189, success, outsize: 16
The Problem occurs when the buffer is flushed (and supposingly sent to the ftp server). Any idea what could be wrong here?
Cheers,
Răzvan
I should add that the problem does not occur with a normal ftp client.