Pete's Log: Log Entry 275
Entry #275, (Coding, Hacking, & CS stuff)(posted when I was 21 years old.)
ahhh, what a silly fool i am. for the read function for the ftp file system module for ltfs, i was telling the ftp server to go to type i (binary) for transfers, which is most likely the right thing to do, since text files tend to come across ok like that. unfortunately, i failed to remember that the ftp server would also send directory listings across in binary mode, and this was causing my directory parsing to go askew. but i've fixed that, and now all is well. the next thing to do at this point is to make it quicker (directory listings are painfully slow -- not entirely my fault, i wanted to keep the socket open for directory listings so that i could pull entries off as i needed them, but noooo, stupid ftp protocol doesn't allow control connection to be reused while data is being sent across data connection. what's the point in separate connections anyway?) and to implement symlinks (or at least ensure that the kernel doesn't oops when one attempts to follow a symlink).