@Viraj Shinde
Thinking ss1.0 uses the same process as ss2.0 in that you need to create the file object then submit it to the cabinet...
1. create the fie. var fileObj = nlapiCreateFile('_profile-image-105.jpg_', '_JPGIMAGE_', imageBlob)
2. fileObj .setFolder(folderID)
3. var id = nlapiSubmitFile(fileObj )