You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shridhar Gupta edited this page Jun 13, 2016
·
2 revisions
client.putFile(filePath,newFileName,headers,function(err,res){if(err)return;elseif(200==res.statusCode){varawsData=res.socket._httpMessage;console.log('Uploaded to S3: ',awsData.url);}});
Sample headers, x-amz-acl is the aws view permissions for this file.