You are not logged in.

#1 2009-01-02 18:58:00

AaronJ
Member
Registered: 2008-11-12
Posts: 13

Curlftpfs Write errors

This problem thoroughly confuses me. I have tried a number of things, and yet I still get errors.

1) the command I use is 'curlftpfs ftp.example.com/public_html/ -v', the password and user information are in a file.

2) The output gives me no errors


I go in VIM, open up a file, edit it and try to save, and I get an I/O error.
I try to copy using 'cp', but I still get problems.

[aaron@erdos ~]$ cp index.php ftp/admin-cp/index.php
cp: closing `ftp/admin-cp/index.php': Input/output error

However, occasionally the file IS uploaded properly. Right now 'cp' is uploading, even though it gets the error.

If I use VIM to edit the very same file, and save, I get this error:

"ftp/admin-cp/index.php"                            
"ftp/admin-cp/index.php" E667: Fsync failed
WARNING: Original file may be lost or damaged
don't quit the editor until the file is successfully written!

annd... It leaves a backup file on the server.

ftp is chmod with g+w and is in my home directory. It doesn't even work if chmod'ed to 777.

Please let me know if there is any more information I can give.

Thanks for any help, I've looked all over for a solution to this problem.

Last edited by AaronJ (2009-01-02 18:59:28)

Offline

#2 2009-02-27 05:48:02

kaaposc
Member
From: Latvia
Registered: 2008-07-16
Posts: 30

Re: Curlftpfs Write errors

The same input/output error here. Using curlftpfs mounted ftp place for subversion local working copy. Tried to make lwc on local disk and copy it over to mounted ftp - most files copy successfuly, some give "cp: closing <filename> input/output error"

Offline

#3 2010-03-04 21:40:31

voidux
Member
Registered: 2010-02-03
Posts: 31

Re: Curlftpfs Write errors

encountered this bug too. searching for solution

upd.
the only solution i've found is a rolling back to 0.9.1
so, here is the pkg. Warning: it is built with -march=nocona - it means that the pkg will run on core2 only!

others could build a pkg themselves from this PKGBUILD

pkgname=curlftpfs
pkgver=0.9.1
pkgrel=1
pkgdesc="A filesystem for acessing FTP hosts based on FUSE and libcurl."
url="http://curlftpfs.sourceforge.net/"
license=('GPL')
depends=('curl>=7.15.4' 'fuse' 'glib2')
makedepends=('pkgconfig>=0.9.0')
arch=('i686' 'x86_64')
source=(http://downloads.sourceforge.net/sourceforge/curlftpfs/$pkgname-$pkgver.tar.gz)
md5sums=('969998e9cf1663824f44739e94c703a1')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

by running makepkg -i PKGBUILD.


Good luck!

Last edited by voidux (2010-03-04 22:37:37)

Offline

#4 2010-07-21 17:50:41

gard
Member
Registered: 2010-07-21
Posts: 8

Re: Curlftpfs Write errors

I have same problem.. thanks! Any news about fix this bug?

Offline

#5 2010-09-29 08:27:41

mongohorst
Member
Registered: 2010-09-29
Posts: 29

Re: Curlftpfs Write errors

I got also i/o errors while copying files from my ftp mount to local disk. I tried it with downgrading to version 0.9.1 but that didn't make a change.

However the option

-o direct_io

did the trick!

Last edited by mongohorst (2010-09-29 08:28:26)

Offline

#6 2011-02-18 23:16:20

Dave Cohen
Member
Registered: 2008-09-27
Posts: 126

Re: Curlftpfs Write errors

I have the same error.  have not yet tried downgrading, but I did try the direct_io option, it makes no difference for me.

Offline

#7 2013-05-15 21:44:29

tom229
Member
Registered: 2013-05-15
Posts: 2

Re: Curlftpfs Write errors

Same issue in Ubuntu 12.10 x86. Issue was actually intermittent. If you attempt a copy more than once it would sometimes work.

"-o direct_io" did not work.

Solution was to compile 0.9.1 from source. Issue resolved.

Offline

#8 2013-05-15 22:22:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Curlftpfs Write errors

Please don't necrobump threads
https://wiki.archlinux.org/index.php/Fo … Bumping.27

Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB