startFileTransfer  
  Begins a file transfer between local Amazon Web Services storage and a remote AS2 or SFTP server.
- For an AS2 connector, you specify the - ConnectorIdand one or more- SendFilePathsto identify the files you want to transfer.
- For an SFTP connector, the file transfer can be either outbound or inbound. In both cases, you specify the - ConnectorId. Depending on the direction of the transfer, you also specify the following items:
- If you are transferring file from a partner's SFTP server to Amazon Web Services storage, you specify one or more - RetrieveFilePathsto identify the files you want to transfer, and a- LocalDirectoryPathto specify the destination folder.
- If you are transferring file to a partner's SFTP server from Amazon Web Services storage, you specify one or more - SendFilePathsto identify the files you want to transfer, and a- RemoteDirectoryPathto specify the destination folder.