
Adrian Drabczak (Impel Business Solutions Sp. z o.o.) asked a question.
MOVEit Transfer 14.0 REST Script - Upload file with integrity verification using PowerShell 5.1
PowerShell script for uploading files into MOVEit with SHA-1 integrity checking. Compatible with PowerShell 5.1 which have no native support for multipart/form-data forms.
There's no support for UTF-8 characters in file names and comments. If someone know how to fix it, please let me know. :)
Usage example:
- $fileId = UploadToMoveit -UserLogin "MyUserLogin" -UserPassword "VeryHardPasswordInPlainText" -FilePath "C:\upload\file.pdf" -Comment "This is my test file." -FolderId "869085137"
- Write-Host "File uploaded. URI: http://MyMoveItServer/human.aspx?arg07=$($fileId)&arg12=fileview"