FtpDirectory
Calling this method downloads a blob into blob storage.
Method Name:
FtpDirectory
Payload:
The direct command requires a sas uri to download from.
FtpConfigName: Name of the FTP configuration to use, as specified in the module twin
FtpDirectoryPath: Directory where the FTP operation is executed.
RenameFromFtpDirectoryPath: If command is RenameDirectory, this value renames the directory.
FtpDirectoryCommand: Command to execute. Possible values are CreateDirectory, DeleteDirectory and RenameDirectory.
{
"ftpConfigName": "ftpconfig1",
"ftpDirectoryPath": "home/Directory",
"renameFromFtpDirectoryPath": "NewDirectoryName",
"ftpDirectoryCommand": "RenameDirectory"
}Return value
The direct command returns an OperationResult that indicates either success or failure.
Last updated
Was this helpful?