Azure pipeline - FtpFailedToReadFtpData error

Ranjana S G 0 Reputation points
2023-03-01T10:34:42.4233333+00:00

I'm trying to copy file from ftp to blob. It gives error for large files. I've created LinkedService to connect to ftp using 'AutoResolveIntegrationRUntime'.

Error : ErrorCode=FtpFailedToReadFtpData,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Failed to read FTP data. Message: 'Failed to read data from ftp: The remote server returned an error: 200 Type set to I .',Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Net.WebException,Message=The remote server returned an error: 200 Type set to I .,Source=System,''Type=System.IO.IOException,Message=Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.,Source=System,''Type=System.Net.Sockets.SocketException,Message=An existing connection was forcibly closed by the remote host,Source=System,'

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bhargava-MSFT 31,261 Reputation points Microsoft Employee Moderator
    2023-03-07T21:17:14.9266667+00:00

    Hello Ranjana S G,

    Welcome to the MS Q&A platform.

    The error message suggests the FTP server has timed out because the server was not reachable.

    Please check the FTP server configuration and see if you increase the timeout.

    You can also try to check the network connection between the FTP server and the Azure Data Factory and make sure that the connection is stable and there is no interruption.

    And if you are transferring a large file, please try splitting the large file into small files and try the transfer again to see if it success.

    I hope this helps. Please let me know if you have any further questions.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.