RemoteFile Parameter (Get-FTP Cmdlet)
The name of the remote file to download.
Syntax
Get-FTP -RemoteFile string
Remarks
The RemoteFile is either an absolute file path, or a relative path based on the home path set by the server. This value must include a filemask or filename. For instance:
get
-ftp -server TestServer -user test -password test -remotefile MyFolder/*.txt
Default Value
""
Parameter Position
1
Parameter Alias
Download