cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Infrastructure (Server, Network, Database)

How does write Files to Azure Server from Another Azure Server Using C#

Iswarya.N
New Member

How does write Files to Azure Server from Another Azure Server Using C#

I had two Azure servers (Web Apps). I had to write code to upload an image file to the same server for my Azure certification projects.

Below is the code :

  byte[] bytes = Convert.FromBase64String(_base64String);
  string path = Server.MapPath("../../assets/Upload/");

  FileInfo file = new FileInfo(path);
  file.Directory.Create();

  File.WriteAllBytes(path + "Test.jpg"), 

This code is perfectly working for the same server. How should I write the same file on another server?

Now I need to write that file from Azure Server A to Azure Server B.

Tags (2)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
How does write Files to Azure Server from Another Azure Server Using C#
0 REPLIES 0