Javascript CORS vs Powershell

I am currently in early stage of making a ftp solution, and used two approaches so that I can achieve faster transaction possible.

Method 1: Using SAS(Shared Access Signature) from Azure, CORS(Cross Origin Resource Sharing) to do the data transfer to Azure Server. In this I first Create a context -> Container -> Blob. After creating the container I create a SAS with the permission to access it via Javascript CORS, and finally upload the file.

Method 2: Created a Powershell script in windows based application and used it to Upload the data on the Azure Server and upload the File.

I uploaded the same file using the two methods on a connection of 120 Mbps (Upload) connection. File Location US,

Windows Azure Server Location East US,

File Size 100 MB

Results I achieved : Method 1 : 73 sec

Method 2 : 6 sec

There is a massive boost using the Powershell, but due to the limitation of installing it on every machine I prefer to use the web based solution. Is there any way to upload the data via web browser but achieve the Powershell's speed

April 16th, 2015 10:11am

Hi,

This is the forum to discuss questions and feedback for Microsoft Office Visio, I recommend you post the question to Power shell forum

https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverpowershell

The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

George Zhao
TechNet Community Support

Free Windows Admin Tool Kit Click here and download it now
April 17th, 2015 2:24am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics