If this program indeed uses FTP (which is yet to be confirmed, as the author only thinks it does), I strongly doubt they used bare sockets for this and not some Windows library for handling the protocol.
You are assuming they are sane. At lot of companies and people are not. Where I work, there are some people who prefer to reinvent the wheel rather than just using a perfectly good one someone else has made.
There reasoning? "If I find bugs, I can fix my own easily. Someone elses I would have to figure out how it worked first."
They fail to see that there freshly written code stands to have more bugs than the code that has been used for the past 5 years by other engineers, or the fact that there new version will be thrown out at the next code review...
Well... yes, that's true. I'm assuming that if they used bare sockets we would be presented with a bit more code than those few lines. It looks like code written from scratch ("ok, I connected, now what?")
Same here.Where I work, there are some people who prefer to reinvent the wheel rather than just using a perfectly good one someone else has made.
Bookmarks