Hi Folks,

I have a problem with curlftpfs and I don't know where to ask. I try
to implement a mounting feature for FTP like MacFusion. I read the
MacFusion-Code for that and tried to implement it a similar way. I
wrap an NSTask around curftpfs but don't want the password appearing
in the process list.

Due building problems I decided to take the curlftpfs binary (version
0.9.1) out of the MacFusion package which is working fine. The problem
is that this binary does not prompt for a password when this is left
out in the arguments. (Do you know which arguments MacFusion is
passing to curlftpfs to make it promt for a password?)

I then tried to build my own version of curlftpfs (version 0.9.2)
which is failing, even the one in the MacPorts port tree. I downloaded
the 0.9.1 which is building fine and promting for a password but
produces Fuse "Input/Output errors" while connected. The Finder does
recognise this is as a mount although mount is listing it.

The debug output says:

ma...@naebook ~/Downloads/curlftpfs-0.9.1 $ ./curlftpfs -f -v -o
debug,user=***** **[email protected] /Users/marco/Test
Enter host password for user '******':
* Couldn't find host webstyle4k.de in the .netrc file; using defaults
* About to connect() to webstyle4k.de port 21 (#0)
*   Trying 212.112.227.234... * connected
* Connected to webstyle4k.de (212.112.227.234) port 21 (#0)
< 220 (vsFTPd 2.0.7)
> USER *****
< 331 Please specify the password.
> PASS ***********
< 230 Login successful.
> PWD
< 257 "/"
* Entry path is '/'
* Remembering we are in dir ""
* Connection #0 to host webstyle4k.de left intact
unique: 0, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.8
flags=0x00000000
max_readahead=0x00100000
   INIT: 7.8
   flags=0x00000000
   max_readahead=0x00100000
   max_write=0x00400000
   unique: 0, error: 0 (Unknown error: 0), outsize: 40
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 0, error: 0 (Unknown error: 0), outsize: 96
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 0, error: 0 (Unknown error: 0), outsize: 96
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 0, error: 0 (Unknown error: 0), outsize: 96
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 0, error: 0 (Unknown error: 0), outsize: 96
unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 1, error: 0 (Unknown error: 0), outsize: 96
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 0, error: 0 (Unknown error: 0), outsize: 96
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 0, error: 0 (Unknown error: 0), outsize: 96
   unique: 1, error: 0 (Unknown error: 0), outsize: 96
unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40
unique: 1, opcode: ACCESS (34), nodeid: 1, insize: 48
   unique: 2, error: 0 (Unknown error: 0), outsize: 96
ACCESS / 00
   unique: 1, error: -78 (Function not implemented), outsize: 16
unique: 0, opcode: GETATTR (3), nodeid: 1, insize: 40
* Couldn't find host webstyle4k.de in the .netrc file; using defaults
* Re-using existing connection! (#0) with host webstyle4k.de
* Connected to webstyle4k.de (212.112.227.234) port 21 (#0)
* Request has same path as previous transfer
unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40
>    unique: 2, error: 0 (Unknown error: 0), outsize: 96
EPSV
* Connect data stream passively
< 229 Entering Extended Passive Mode (|||64345|)
*   Trying 212.112.227.234... * connected
* Connecting to 212.112.227.234 (212.112.227.234) port 64345
> TYPE A
< 200 Switching to ASCII mode.
> LIST -a
< 150 Here comes the directory listing.
* Maxdownload = -1
* Remembering we are in dir ""
< 226 Directory send OK.
* Connection #0 to host webstyle4k.de left intact
   unique: 0, error: 0 (Unknown error: 0), outsize: 128
unique: 1, opcode: GETATTR (3), nodeid: 1, insize: 40
   unique: 1, error: 0 (Unknown error: 0), outsize: 128
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 40

My config:

OS X 10.6.2
MacFuse 2.0.3
curlftpfs 0.9.1


Maybe someone of you has an idea. Any helping thoughts are very
welcome!

Thanks and regards from Germany

Marco

-- 
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en.

Reply via email to