Biztalk Server 2010 - FTP Send Port 550 error

Hi there

I have an FTP Send Port that is set to upload a file to a remote FTP server.

I can connect in to the correct location and upload the file to the FTP server manually using Filezilla.

However, if I try it using the FTP adapter, I get the following:

If I specify a Temporary folder:

An unexpected failure occurred when processing a message. The text associated with the exception is "The remote file could not be opened by the FTP server. ".

If I don't specify a TEMP folder:

The remote server refused a data connection.
 Please check permissions on the remote system.

In the FTP Client logs logged by BizTalk I see the following:(I removed the IP addresses and replaced with AAA for security)

< 220 Microsoft FTP Service
> USER biztalk_ftp
< 331 Password required for biztalk_ftp.
> PASS xxxx
< 230 User logged in.
> PWD
< 257 "/" is current directory.
> PWD
< 257 "/" is current directory.
> PWD
< 257 "/" is current directory.
> CWD /PATH_DEV
< 250 CWD command successful.
> PWD
< 257 "/PATH_DEV" is current directory.
> TYPE I
< 200 Type set to I.
> PORT AAA,AAA,AAA,AAA,228,201
< 200 PORT command successful.
> STOR {C02C18F9-4D2A-4D2E-987E-622A1EB77CD4}.xml
< 150 Opening BINARY mode data connection.
< 550
> TYPE I
< 200 Type set to I.
> PORT AAA,AAA,AAA,AAA,229,122
< 200 PORT command successful.
> STOR {F4B08675-B418-445F-82F2-B8860F7CB967}.xml
< 150 Opening BINARY mode data connection.
< 550

So every time it tries to perform any action it gives a 550 error directly afterwards.

We have a DEV, an INT and a PROD server. All 3 have the same version of BizTalk (except PROD has Enterprise while DEV has DEV etc); but version nums are the same.

However, the issue is happening on DEV and INT, exactly the same, yet on PROD it works fine; with exactly the same settings on each server, using a simple standard BizTalk FTP Adapter and FTP-based Send port.

Any ideas on what may cause this?

Thanks

David

August 27th, 2015 11:19am

Hi David,

Please refer http://blogs.msdn.com/b/nitinme/archive/2010/12/20/ftp-adapter-in-biztalk-server-2010-the-interval-and-redownload-interval-binding-properties.aspx

Also check user has read/Write permission for the ftp location.

Thanks

Abhishek

Free Windows Admin Tool Kit Click here and download it now
August 27th, 2015 11:59am

Hi David,

Could you please confirm the mode of FTP port? 
If the FTP port configured with Active mode then please switching to Passive mode and try to connect.

One more thing, please confirm any security patches released on Dev server or any firewall. Seems somewhere firewall is port between BizTalk and your FTP server.

And Please refer below related thread,

https://social.msdn.microsoft.com/Forums/en-US/b468c486-23bf-4d83-978e-4a1abd32fa7a/error-using-biztalk-2010-ftp-send-port-with-temporary-folder?forum=biztalkr2adapters

August 27th, 2015 12:13pm

Hi David,

Could you please confirm the mode of FTP port? 
If the FTP port configured with Active mode then please switching to Passive mode and try to connect.

One more thing, please confirm any security patches released on Dev server or any firewall. Seems somewhere firewall is blocking port between BizTalk and your FTP server.

And Please refer below related thread,

https://social.msdn.microsoft.com/Forums/en-US/b468c486-23bf-4d83-978e-4a1abd32fa7a/error-using-biztalk-2010-ftp-send-port-with-temporary-folder?forum=biztalkr2adapte

August 27th, 2015 4:09pm

Thanks for the quick response guys - issue resolved; seems the Windows firewall by default doesn't allow passive FTP traffic back in?

Resolved by adding an inbound firewall rule on the DEV server to allow the ftp server to make the PASV
connection back to it and now the FTP works.

August 28th, 2015 2:57am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics