When implementing an Enhanced Secure FTP Service, there are many considerations that are key to ensuring that the service performs as optimally as possible. This article speaks to a number of different topics that frequently raise questions around limitations and expectations with the Marketing Cloud SFTP Service. Following this guidelines will help ensure that you have both a performant and consistent experience when interacting with the MCE SFTP Service.
When building applications that send and receive data from MCE Enhanced Secure FTP Service, follow these best practices to optimize performance and reliability.
Guidelines for Measuring Performance
For applications with throughput requirements, it is essential to measure throughput, latency, and other critical aspects of the system. Many factors can affect the observed performance including the client Internet connection speed, the network over which the data must travel, and the destination FTP server performance. Following the best practices in this guide can help you achieve the best possible throughput. In addition to these recommendations specific to the Enhanced Secure FTP Service, Marketing Cloud also supports integration with AWS S3, Azure Blob Storage, and GCP Cloud Storage.
The protocols used for these services are more efficient and can often yield superior performance to the Enhanced Secure FTP Service. However, FTP is a widely supported protocol that allows integration with many systems. A decision must be uniquely made for each system with respect to using the Enhanced Secure FTP Service versus the other cloud-native options, and ideally that decision must be made based on real measurement of system performance.
TCP/IP Settings
Optimizing FTP performance can involve tuning several TCP/IP settings. Below we have listed a number of settings that have been broadly seen to influence performance.
Compression
Compression can be used to reduce the number of bytes that must be transferred to represent the entire dataset. If this is not being used, this is something that can be done to have a significant and immediate impact on the amount of time that it takes to transfer a file from location to location. The Enhanced Secure FTP service supports compression in the SFTP connection for SFTP clients that have enabled compression. Alternatively, files can be compressed prior to transfer for clients that can’t support compression in the SFTP connection.
Expectations Around File Size
In general, it is preferable to prefer upload a smaller number of larger files than uploading many small files. Fewer sessions uploading larger files will experience less overhead of initializing connections, and the SFTP compression is more efficient for larger files. If many small files are required, consider combining the files into a larger *.ZIP file that can be uncompressed using File Transfer Activity before usage.
SFTP Client
The SFTP client being used can have a considerable impact on performance. Keep the SFTP client up to date to ensure the best performance. Updates to SFTP clients commonly include optimized algorithms, bug fixes, and enhanced protocol support that can increase the reliability and performance of transfers.
Many SFTP clients offer features to throttle transfers to a particular amount of bandwidth. To optimize the performance and reliability of SFTP transfers, ensure that these limits are disabled.
Data Retention
The performance and reliability of SFTP operations can be impacted by the number of files and directories contained within the same parent directory. A high number of files and directories increases the latency of listing operations, which can result in errors and difficulty navigating directories. Always maintain the minimum set of data necessary on the Enhanced Secure FTP Service and consider using subdirectories to partition files when a large number of files is required. The Enhanced Secure FTP Service will automatically clean up files older than 21 days to help maintain high performance of the system.
Network Access
In general, any source is able to connect to the Enhanced Secure FTP Service. An IP address can be temporarily banned due to a rapid succession of failed login attempts. Additionally, some IP addresses can be permanently banned due to a longer history of malicious failed login attempts.
The FTP Accounts section of setup includes options to configure an IP allowlist. In cases where a particular IP address is unable to connect to the Enhanced Secure FTP Service, the issue is most often that an allowlist is being enforced for the account, and the source IP address is not included in the allowlist.
If an SFTP client is unable to connect to the Enhanced Secure FTP Service, please contact MCE Support for assistance to confirm that the IP can connect and to clear any possible ban.
002721756

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.