Go-ipfs: curlftpfs and ipfs

Created on 6 Jul 2016  Â·  10Comments  Â·  Source: ipfs/go-ipfs

Hello,

just tried this and got error:

I mounted remote ftp via curlftpfs into dir /mnt then i did this ->

ipfs add /mnt/somedironremoteftp/ -r

and got this error:
Error: Post http://127.0.0.1:5001/api/v0/add?encoding=json&progress=true&r=true&stream-channels=true: readdirent: input/output error

Also on daemon this error -> 19:04:59.391 ERROR commands/h: err: multipart: NextPart: unexpected EOF handler.go:287

Any fix on this?

help wanted kinbug

Most helpful comment

This issue belongs in github.com/ipfs/go-ipfs please move it there.
On Thu, Jul 7, 2016 at 03:47 [sCRiPTz-TEAM] [email protected]
wrote:

I am thinking about bash script which will go thru all folders, in these
folders it get all files paths and if i have fildes paths it will do
coomand "ipfs add file", easy as there is no other way i think on this :)

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ipfs/ipfs/issues/183#issuecomment-231007160, or mute
the thread
https://github.com/notifications/unsubscribe/AAIcoXxswpnUa9b6sEyn7rZbegCOVi7Mks5qTK8OgaJpZM4JGS9w
.

All 10 comments

what version of ipfs are you running? What platform?

Downloaded ipfs from there https://ipfs.io/docs/install

Linux 64bit

So is it 0.4.2? or 0.4.1?

As for the error, it looks like the issue is coming from the mountpoint. Ipfs is throwing an error from a syscall, i'd check your logs or debug output from curlftpfs

https://dist.ipfs.io/go-ipfs/v0.4.2/go-ipfs_v0.4.2_linux-amd64.tar.gz :)

There is nothing in logs, also i am able to "ipfs add" file one by one but not whole directory/directories via "-r"

can you run an ls /mnt/somedironremoteftp just fine? do other standard file operations work? (like find, du, etc)

yes all other works great :)

I am thinking about bash script which will go thru all folders, in these folders it get all files paths and if i have filles paths it will do command "ipfs add file", easy as there is no other way i think on this :)

This issue belongs in github.com/ipfs/go-ipfs please move it there.
On Thu, Jul 7, 2016 at 03:47 [sCRiPTz-TEAM] [email protected]
wrote:

I am thinking about bash script which will go thru all folders, in these
folders it get all files paths and if i have fildes paths it will do
coomand "ipfs add file", easy as there is no other way i think on this :)

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ipfs/ipfs/issues/183#issuecomment-231007160, or mute
the thread
https://github.com/notifications/unsubscribe/AAIcoXxswpnUa9b6sEyn7rZbegCOVi7Mks5qTK8OgaJpZM4JGS9w
.

Needs to be verified if it's still an issue.

This is probably too old to debug now. It was likely an issue with the ftp virtual filesystem driver. If anyone sees this bug again, please open a new issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Mikaela picture Mikaela  Â·  3Comments

Jorropo picture Jorropo  Â·  3Comments

zignig picture zignig  Â·  3Comments

funkyfuture picture funkyfuture  Â·  3Comments

jonchoi picture jonchoi  Â·  3Comments