Friday, October 06, 2006

Found a bug in the built in Mac OS X FTP server

So let's say you are using the FTP sharing abilities in Mac OS X to share a 5GB file.

Now, as a 5GB FTP download will likely get interrupted a few times before completion, you use the REST (restart or resume if you like) command to resume the download from where it last stopped. That will work fine if your download is less than 2GB. It appears for anything over 2GB it won't work, as the FTP server reports: "Restarting at 2147483647" no matter what. Apparently it can't go higher than 2147483647 bytes for the start of a resume download. I've done some searching and Mac OS X isn't the only FTP server to have this problem, however, many do work fine over 2GB.

If anyone is aware of a fix for this, let me know. Until then, I'll be submitting this as a bug to Apple in the next few days.

No comments: