title: Uploading File in Azure using CLI
body: <p>I am trying to practice on the following tasks:</p>
  
  <ol>
  <li><p>Create Storage Account:
  az storage account create --name heyatafroz25 --resource-group user-fottsascvuzj</p></li>
  <li><p>Get Storage Account Key:
  az storage account keys list -g user-fottsascvuzj -n heyatafroz25</p></li>
  <li><p>Create Share Account:
  az storage share create --account-name heyatafroz25 --name key1
  az storage share create --account-name heyatafroz25 --name key2</p></li>
  <li><p>Create Storage Directory:
  az storage directory create --account-name heyatafroz25 --name heyatdir1 --share-name key1
  az storage directory create --account-name heyatafroz25 --name heyatdir2 --share-name key2</p></li>
  <li><p>Uploading the File</p></li>
  </ol>
  
  <p>I was asked to create a index.php file which i created using the touch command.</p>
  
  <p>Post that I am not sure what details to be considered for path and source.
  For path i took the present working directory</p>
  
  <p>az storage file upload --account-name heyatafroz25 --account-key N+PKe3ihto+G0h9CvVRV/bJ5KeEFF6RFB0aKf2qcfcyJA1uOyCBUO06Tlh9KHUzhA+PyugmDLwlrceXW5V31Xw== --path /home/scrapbook/tutorial/index.php --share-name key1 --source /home/scrapbook/tutorial/index.php</p>
  
  <p>Please suggest on the corrections in the 5th command.</p>
  
  <p>Thanks in advance.</p>