Transfer Family connector, how to specify the remote filename in outbound direction ?

0

Hello,

With AWS CLI, api 'transfer start-file-transfer', is it possible to specify the remote filename for an outbound transfer ?

In the following example, I am able to transfer the file from the given S3 bucket to the remote SFTP server. But the filename is unchanged : aws transfer start-file-transfer --connector-id c-1234567890abc
--send-file-paths /bucket-name/someFile.txt
--remote-directory-path /someDirectory

I would need an argument like '--remote-filename' but it does not seem to exist...

1 Answer
0
Accepted Answer

That's right - currently it is not possible to rename the file when calling the StartFileTransfer command. The connector preserves the same file name when writing it to the remote directory. Curious to know if you have considered renaming the file before initiating the transfer itself, or what might make that approach undesirable ? If you need to rename file when connector writes it to remote directory, would also recommend reaching out to AWS Support to submit this as a feature request for the AWS Transfer Family service.

AWS
answered a year ago
profile pictureAWS
EXPERT
reviewed 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions