Sandvox partially fixed

I discovered that Sandvox uses a framework called Connection Kit for uploading files. I downloaded the framework (it’s open source) and found that it had the same problem as Sandvox which lead me to believe that the framework is broken. After spending a large part of today looking at the framework, I managed to fix part of the problem in that I no longer get SSH errors when trying to upload via SFTP. I’m not ready to reveal my fix to the problem and I still don’t have things working (some pictures just don’t upload).

2 Replies to “Sandvox partially fixed”

  1. A fix to connection kit would certainly be appreciated! We have been tearing our hair out trying to figure out these problems; on a parallel track we are working on a rearchitecture of Sandvox that will disaggregate us from dependencies on a particular connection framework (perhaps allowing us to control a 3rd-party uploading program via applescript) so that we are not so heavily tied into a single piece of software which, alas, is not getting the attention it deserves from the open-source community. (Feel free to contact me with technical notes – I’m nowhere near as savvy about CK as Greg, but I try…)

  2. Thanks for the reply, Dan. I’ve sent you email with the partial fix for the problem. I’d recommend keeping the integrated uploading as that’s a major selling point for me. If I wanted an external solution, I wouldn’t be obsessed with this problem and simply would have exported my site and uploaded it using Transmit or MacFUSION.

    The major problem with CK as far as I can tell is that Greg missed some of the fine points of replacing the read and write routines with Mac routines instead of using the UNIX socket calls. He missed one call and didn’t take into account blocking calls. The queued sending of packets may be fine for the other transport mechanisms, but the SSH library uses blocking read calls which causes the sends never to go out or at least it is a huge timing issue.

    Hopefully my “fix” will help others. I still need to figure out why my graphics aren’t being uploaded, but I think that’s a different issue.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.