Added feature: upload/download large file;
Fixed memory allocation problems;