RemoteFile Parameter (Send-CloudStorage Cmdlet)

The destination of the uploaded file on the remote host.


Send-CloudStorage -RemoteFile string


The RemoteFile is either an absolute file path, or a relative path based on the home path set by the server. If LocalFile specifies multiple files or an entire directory, RemoteFile must be set to a remote directory.

For instance:

#upload all text files to a folder in Box
Send-CloudStorage -ServiceProvider Box -OAuthClientId $boxid -OAuthClientSecret $boxsecret -LocalFile "C:/test/*.txt" -RemoteFile "uploadDir" 

#upload a single file to Wasabi
Send-CloudStorage -ServiceProvider Wasabi -WasabiAccessKey $accesskey -WasabiSecretKey $secretkey -LocalFile "C:/test/uploadMe.txt" -RemoteFile "uploadDir/myUpload.txt" 

Default Value


Parameter Position


Parameter Alias


Copyright (c) 2022 /n software inc. - All rights reserved.
NetCmdlets 2020 - Version 20.0 [Build 8165]