Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone I'm trying to upload .csv file in amazon S3 it works fine till one file was uploaded, but after then system hangs and nothing will happen next.

I was refer this but not get right solution.

If you have right way then please let me aware.

My code is her
C#
public static void UploadScreenShot(string FullFilePath, string DestPath, string FileName)
{
        try
        {
             TransferUtility fileTransferUtility = new TransferUtility(new AmazonS3Client(Amazon.RegionEndpoint.USEast1));
             fileTransferUtility.Upload(FullFilePath, existingBucketName, DestPath +FileName);
             fileTransferUtility.Dispose();
        }
        catch{}
}
Posted
Comments
George Jonsson 16-Sep-14 2:26am    
I think you might have better luck to get help in an Amazon S3 forum.
BharatPrajapati212 16-Sep-14 2:53am    
thanx Sir

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900