1.0.7 • Published 3 years ago
file_upload_chunk v1.0.7
Uploading file in chunk package
This package will help to upload file in chunk on server. By default this package will read the file around 2MB in chunk and will create zip of it and will upload it to server
Please call this function uploadFilesChunk(filePathData = __dirname + '/test.jpg', fileNameData = 'test.jpg', fileSizeToReadInChunk = 2000000, uploadLocation = 'uploadfolder')
filePathData -> Path of file for reading chunks
fileNameData -> Name of the file
fileSizeToReadInChunk -> Specify chunk size to read from
uploadLocation -> Specify file upload location
Note :- This code is tested with large text file.