Upload with PowerShell/HTTPS
Has anyone successfully uploaded a file to Cerberus using PowerShell's Invoke-WebRequest? I'm trying to do something very similar to this stackoverflow post: https://stackoverflow.com/questions/54199853/multipart-form-data-cerberus-ftp
-
Hi David,
Does it have to be HTTPS, if you can use SFTP with SSH Key pairs I have a working script for putting files to server, I'm yet to look at the opposite direction but happy to share if it will help you?
0 -
I have been using sftp with winscp and powershell with great success. You can try this example for downloading.
https://winscp.net/eng/docs/library_example_recursive_download_custom_error_handling
When it comes to upoading files you should be able to find powershell examples at winscp.com.
0
Please sign in to leave a comment.
Comments
2 comments