This 4GB limit size is a problem that I've run into in developing FireFTP. It seems the problem lies with nsIBinaryOutputStream.writeBytes:
Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIBinaryOutputStream.writeBytes]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://fireftp/content/js/connection/dataSocket.js :: anonymous :: line 258" data: no]
This 4GB limit size is a problem that I've run into in developing FireFTP. It seems the problem lies with nsIBinaryOutput Stream. writeBytes:
Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIBinaryOutpu tStream. writeBytes] " nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome: //fireftp/ content/ js/connection/ dataSocket. js :: anonymous :: line 258" data: no]