Differences
This shows you the differences between the selected revisions of the page.
2014-09-09 | 2014-09-09 | ||
linking to session log section (martin) | grammar (martin) | ||
Line 120: | Line 120: | ||
* locate source or destination paths of the transfer using WebJob [[guide_microsoft_azure_webjob_sftp#environment|environment variables]]; | * locate source or destination paths of the transfer using WebJob [[guide_microsoft_azure_webjob_sftp#environment|environment variables]]; | ||
* [[guide_microsoft_azure_webjob_sftp#log|print the session log to the standard output]], so that it is available from Azure Management Portal; | * [[guide_microsoft_azure_webjob_sftp#log|print the session log to the standard output]], so that it is available from Azure Management Portal; | ||
- | * cannot use ''[[http://technet.microsoft.com/en-us/library/hh849877.aspx|Write-Host]]'' cmdlet in Azure WebJob as there is no console to write to, use ''[[http://technet.microsoft.com/en-us/library/hh849921.aspx|Write-Output]]'' instead. | + | * not use ''[[http://technet.microsoft.com/en-us/library/hh849877.aspx|Write-Host]]'' cmdlet in Azure WebJob as there is no console to write to, use ''[[http://technet.microsoft.com/en-us/library/hh849921.aspx|Write-Output]]'' instead. |
An example PowerShell script (''backup.ps1'') that backs up the WebSite to a remote SFTP server: | An example PowerShell script (''backup.ps1'') that backs up the WebSite to a remote SFTP server: |