Tells the plugin whether you are performing an upload or a download.
First available in version 3.0 build 2039.
direction - File transfer direction (used by FTP.open and FTP.transfer). Valid values include: upload,download.
No output parameters.
When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.