How to upload a product feed via SFTP on Windows
CompletedNote: To upload a file to S3 using the console, please see this article
Here is another way to upload a file to S3 via SFTP:
Step 1- generate an ssh key
The ssh key can be saved in several file types:
- pub
- ppk
- pem
In order to upload a product feed via SFTP we should generate an ssh key and save it in pub and ppk formats:
- download an app which is called "PuTTY Key Generator".
- open the app
- under Parameters > Type of key to generate > choose RSA
- click on the Generate button
5. save the key as a public key (.pub)
6. save the key as a private key (.ppk)
7. don't close this window yet
Steps 2- create a bucket on S3 and receive the end-point and your user name
- go to the admin
- go to your section > assets > data feeds
- create a new product feed or edit an existing one
- choose the option: Sync securely via SFTP
- copy from PuTTY the ssh key which is shown on the app after generating the new ssh key
- (I am not able to screenshot all the ssh key but this is the place in which it appears on the app):
7. paste the ssh key in the relevant place on the admin
8. click on the button to register your key
9. save and activate the feed
Steps 3- upload the file via SFTP
In order to upload the file to S3 via SFTP and using the credentials that we received in the admin, we need to download an app which is called winSCP. After the app is ready for use, follow the next steps:
- open the app
- a window which is called Login will be opened
- Click on the button to add a new site
- enter: File protocol: SFTP
- enter: Hostname: the endpoint which displays on the admin (sftp.dynamicyield.com)
- Click on the advanced button
7. a window which is called "Advanced Site Settings" will open
8. upload the ssh key file in ppk format under the "Private key file"
9. click on the OK button
10. the window will be closed and you will see the previous window again
11. Click on the Save button
12. Click on the login button
13. then' you will be logged in to your account
14. drag the product feed that you want to upload to S3 via SFTP to the bucket (please note that the name of the file must be productfeed.csv
15. you can close the window
16. the file was uploaded- you can verify it on the matching bucket in S3 (https://dy-external.signin.aws.amazon.com/console).
Please sign in to leave a comment.
Comments
0 comments