Differences
This shows you the differences between the selected revisions of the page.
2014-09-09 | 2014-09-09 | ||
fixing link (martin) | fixing link again (martin) | ||
Line 118: | Line 118: | ||
* the PowerShell script should propagate any error from WinSCP code to an exit code, so that Azure correctly identifies failures (any non-zero exit code is a failure to Azure); | * the PowerShell script should propagate any error from WinSCP code to an exit code, so that Azure correctly identifies failures (any non-zero exit code is a failure to Azure); | ||
* enable session logging to a unique job run directory (''%WEBJOBS_DATA_PATH%\%WEBJOBS_RUN_ID%''); | * enable session logging to a unique job run directory (''%WEBJOBS_DATA_PATH%\%WEBJOBS_RUN_ID%''); | ||
- | * locate source or destination paths of the transfer using WebJob [[environment|environment variables]]; | + | * locate source or destination paths of the transfer using WebJob [[guide_microsoft_azure_webjob_sftp#environment|environment variables]]; |
* print session log to a standard output, so that it is available from Azure Management Portal; | * print session log to a 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. | * 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. |