I've been having a lot of trouble creating a writable filesystem using
the objective-c framework.  The filesystem is remote, the contents are
stored on a website.  I have gotten reading to work fine, but getting
files to be written back has not been working, and I'm not entirely
sure where to go from here.  I'm not sure if I'm not implementing a
function I need to be, or if I'm implementing one of the core
functions incorrectly.

What I want to be able to do is write that file over the server online
and have the file appear in the mounted filesystem.  I'm assuming I
should put this logic in the writeFileAtPath function, but I haven't
been able to get this function to be called yet.

Right now, I mount the filesystem and then try to copy and paste a new
file into the root directory of the filesystem. I put logging to know
what functions are being called.  This is the output that I get:

In atts of item: /textDoc.txt
Item not found...: /textDoc.txt
In atts of item: /
In atts of item: /textDoc.txt
Item not found...: /textDoc.txt
In create file at path2
In atts of item: /textDoc.txt
In atts of item: /._textDoc.txt
In atts of item: /textDoc.txt
In atts of item: /textDoc.txt
In atts of item: /._textDoc.txt
In create file at path2
In atts of item: /._textDoc.txt
In atts of FS: /
In atts of FS: /
In atts of FS: /
In atts of FS: /
In contents of dir: /
In atts of FS: /
In atts of FS: /
In atts of FS: /
In atts of item: /Test.txt
In atts of item: /
In atts of FS: /
In atts of FS: /
In atts of item: /._Test.txt
In contents of dir: /
In atts of item: /
In atts of item: /._Test.txt
In atts of item: /aaaa.txt
In atts of FS: /
In atts of FS: /
In contents of dir: /
In atts of item: /
In atts of FS: /
In contents of dir: /
In atts of FS: /
In atts of item: /._Test.txt
In atts of item: /._Test.txt
In atts of item: /._aaaa.txt
In atts of item: /._Test.txt
In atts of item: /._Test.txt
In atts of item: /._Test.txt
In atts of item: /._aaaa.txt
In atts of item: /._aaaa.txt
In atts of item: /._Test.txt
In atts of item: /
In atts of FS: /
In atts of item: /._aaaa.txt
In atts of item: /._textDoc.txt
In atts of item: /._aaaa.txt
In atts of item: /._aaaa.txt
In atts of item: /._aaaa.txt
In atts of FS: /
In atts of item: /._textDoc.txt
In atts of item: /._aaaa.txt
In atts of item: /Test
In atts of item: /._textDoc.txt
In atts of item: /._textDoc.txt
In atts of item: /._Test
In atts of item: /Test2.txt
In atts of item: /._textDoc.txt
In atts of item: /._textDoc.txt
In atts of item: /._textDoc.txt
In atts of item: /._Test2.txt
In atts of item: /._Test
In atts of item: /._textDoc.txt
In atts of item: /._Test
In atts of item: /._Test2.txt
In atts of item: /._Test
In atts of item: /._Test2.txt
In atts of item: /._Test2.txt
In atts of item: /.hidden
In atts of item: /._Test2.txt
In atts of item: /._Test2.txt
In atts of item: /._Test2.txt
In atts of item: /.DS_Store
In atts of item: /.hidden
In atts of item: /.hidden
In atts of item: /._Test2.txt
In atts of item: /.DS_Store
In atts of item: /.DS_Store
In atts of item: /.hidden
In atts of item: /.DS_Store
In atts of FS: /
In atts of FS: /
In atts of FS: /
In atts of FS: /
In contents of dir: /
In atts of item: /._Test.txt
In atts of item: /._Test.txt
In atts of item: /._aaaa.txt
In atts of item: /._aaaa.txt
In atts of item: /._textDoc.txt
In atts of item: /._textDoc.txt
In atts of item: /._Test
In atts of item: /
In atts of item: /._Test2.txt
In atts of item: /._Test2.txt
In atts of item: /.DS_Store
In atts of item: /._aaaa.txt
In atts of FS: /
In atts of FS: /
In atts of item: /._textDoc.txt
In atts of FS: /
In atts of item: /._textDoc.txt
In atts of item: /._textDoc.txt
In atts of item: /._textDoc.txt
In contents at path /aaaa.txt
In atts of item: /._aaaa.txt
In atts of item: /._aaaa.txt
In contents at path /aaaa.txt
In atts of item: /._aaaa.txt
In atts of item: /._Test2.txt
In contents at path /Test2.txt
In atts of item: /._Test2.txt
In atts of item: /._Test.txt
In contents at path /Test.txt
In atts of item: /._Test.txt

At this point I get a message that says: "You cannot copy some of
these items to the destination because their names are too long or
contain invalid characters for the destination.  Do you skip copying
these items and continue copying the other items?"

If I click skip I get the following:
In atts of item: /
In atts of FS: /
In contents of dir: /
In atts of item: /Test.txt
In atts of item: /._Test.txt
In atts of item: /._Test.txt
In atts of FS: /
In atts of item: /aaaa.txt
In atts of item: /._aaaa.txt
In atts of item: /._aaaa.txt
In atts of item: /textDoc.txt
In atts of item: /._textDoc.txt
In atts of item: /._textDoc.txt
In atts of item: /Test
In atts of item: /._Test
In atts of item: /Test2.txt
In atts of item: /._Test2.txt
In atts of item: /._Test2.txt
In atts of item: /.DS_Store
In atts of item: /
In atts of FS: /
In atts of item: /._aaaa.txt
In atts of FS: /
In atts of FS: /
In atts of FS: /
In contents at path /aaaa.txt
In atts of item: /._aaaa.txt
In atts of item: /._textDoc.txt
In contents at path /textDoc.txt
In atts of item: /textDoc.txt
In contents at path /textDoc.txt
In atts of item: /textDoc.txt
In contents at path /textDoc.txt
In atts of item: /._Test2.txt
In contents at path /Test2.txt
In atts of item: /._Test2.txt
In atts of item: /._Test.txt
In contents at path /Test.txt
In atts of item: /._Test.txt

writeToPath is never called so I can never send the data to the
server.  Any ideas on what I might be doing wrong?

Thanks,
Alex
--~--~---------~--~----~------------~-------~--~----~
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