NetCmdlets 2016
  • License
  • NetCmdlets 2016
    Questions / Feedback?

    RemoteFile Parameter (Send-CloudStorage Cmdlet)

    The destination of the uploaded file on the remote host.

    Syntax

    Send-CloudStorage -RemoteFile string

    Remarks

    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

    1

    Parameter Alias

    Upload

     
     
    Copyright (c) 2019 /n software inc. - All rights reserved.
    NetCmdlets 2016 - Version 16.0 [Build 7240]