Question

How to use FTPCaller with ftps:// port 21 and implicity


Badge

Hello,

I am supposed to solve the following problem with FTPCaller.

I need to call ftps://hostname using port 21 (implicitl FTP)

 

The FTPCaller help says the following:

 

"The transformer will use the explicit mode in the following cases:

 

The URL begins with ftpes: ftpes://hostname/path

The URL begins with ftps but also sets the port to 21: ftps://hostname:21/path"

 

How can I call ftps implicit with port 21 in FME?

It works fine with FileZilla.

 

Thanks, Zoran


6 replies

Userlevel 5
Badge +29

What error do you get when making the request over port 21?

Badge

The error is "FTP info: connect to xxx.xx.xxx.xx port 990 failed: Timed out

FTP info: Failed to connect to hostname port 990 after 21047 ms: Timed out

FTP info: Closing connection 0

FTP/FTPS/SFTP transfer error: Timeout was reached".

I think the problem is the combination port 21 and implicit.

Userlevel 5
Badge +29

The error is "FTP info: connect to xxx.xx.xxx.xx port 990 failed: Timed out

FTP info: Failed to connect to hostname port 990 after 21047 ms: Timed out

FTP info: Closing connection 0

FTP/FTPS/SFTP transfer error: Timeout was reached".

I think the problem is the combination port 21 and implicit.

Based on the above you're trying to connect over port 990 but you're saying its only open on port 21?

What port are you specifying for the URL?

image

Badge

Sorry, my mistake.

I tried alredy also port 21 and the error is:

"Using explicit FTPS for hostname 'hostname' because the URL protocol is ftpes, or because the protocol is ftps and the port is 21

FTP info:  Trying xxx.xx.xxx.xx:21...

FTP info: Connected to hostname (xxx.xx.xxx.xx) port 21 (#0)

FTP info: server response timeout

FTP info: Closing connection 0

FTP/FTPS/SFTP transfer error: Timeout was reached"

 

In FTPCaller I can't switch the method from explicit to implicit.

FTPCaller uses automaticly explicit as metod with ftps:// and port 21.

Userlevel 5
Badge +29

Sorry, my mistake.

I tried alredy also port 21 and the error is:

"Using explicit FTPS for hostname 'hostname' because the URL protocol is ftpes, or because the protocol is ftps and the port is 21

FTP info:  Trying xxx.xx.xxx.xx:21...

FTP info: Connected to hostname (xxx.xx.xxx.xx) port 21 (#0)

FTP info: server response timeout

FTP info: Closing connection 0

FTP/FTPS/SFTP transfer error: Timeout was reached"

 

In FTPCaller I can't switch the method from explicit to implicit.

FTPCaller uses automaticly explicit as metod with ftps:// and port 21.

You may need to look at using something like python to make your requests in this instance. It may also pay to submit a suggestion to allow the manual override of the ex/implicit - https://community.safe.com/s/bridea/acideasULT__brIdea__c/00B4Q00000AWlEVUA1

Badge

Sorry for late answer!

We solved the problem as we changed the protocol from ftps to sftp.

FME works fine with sftp.

Thank you for your support.

Reply