What is FTP?
-FTP in a method used to transfer files between systems over a network. In SFMC, FTP is commonly used to:
- Import Subscriber Data into Data Extension
- Export Tracking reports and subscriber Data
- Upload Files for Email Campaigns
- Exchange Files between external System and SFMC
- Automate Data Transfer
SFMC provides Safehouse FTP (Enhanced FTP) where files are stored securely before being imported or exported.
Example: A company uploads CSV file containing customer information to SFMC FTP. SFMC imports this file into a Data Extension automatically using Automation Studio
How to create users in FTP account?
Admin permission>> Open Setup>> Data Management>> FTP Accounts>> Add new FTP user>> Enter user details>> Save
What is WinSCP and how do you access it in your system?
-WinSCP stands for Windows Secure Copy Protocol. It is free file transfer software used to securely transfer files between a local computer and a remote server.
WinSCP works like a gateway for Local computer and SFMC enhanced FTP.
Link to download: https://winscp.net/eng/download.php
Image 1:
In the image below, you will see the Set up page, from the left menu you are in Setup> Data Management> FTP Accounts
Here's what the section mean:
Host- mcbn59q90grl4-c77svccmld863y.ftp.marketingcloudops.com >> This is the FTP server address(Host Name) you enter in WinSCP to connect to SMFC (Image 2 as reference where you enter the details)
Port: 22 >> Port 22 means SFMC uses SFTP(Secure File Transfer Protocol) which is more secure than standard FTP
Users/FTP Username: (Example - 515015159-2/ 515015159) >> These are FTP usernames used to log into SFMC FTP
Status: Enabled >> Indicates the FTP account is active
Address >> Email linked to the FTP user
Password Expiration date: Never Expires >> Password doesn't expire automatically
*The image 1 & 2 are important because these credentials are used to upload or download files between SFMC and external system.
How these details are used in WinSCP?
>> When connecting in WinSCP, you'd use:
After login, you can upload/download CSV files for import, exports, and automation.
Image 3
Image 5
*After selecting "Accept" in image 4, received error shown in image 5. This error "Host key wasn't verified" mean, the connection did not complete. (In this scenario, i did not enter the username & password. Just entered the host name)
Possible reasons: Wrong FTP username/ password, Host Key not accepted, Incorrect Host/ Server name, Wrong Protocol or port(Protocol should be SFTP and port should be 22), User lacks FTP permission
Comments
Post a Comment