Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: FTP issue with TSL
Topic Summary: Can connect but cannot download
Created On: 04/30/2014 03:39 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 04/30/2014 03:39 AM
User is offline View Users Profile Print this message

Author Icon
GrahamBrigden
Student (5-19 posts)

Posts: 7
Joined: 10/19/2012

HI,

 

We have an issue where a customer has changed their FTP settings yesterday (without warning us they were doing so). Since then we are unable to transfer files to or from their server via an automate task.

We can connect and transfer files fine inside FlashFXP and FileZilla, so it is not a problem their end or with the firewall etc.

The following is the connection being established:

<AMFTPLOGIN SERVER="ftpsite.com" USERNAME="user" PASSWORD="Password" PORT="21" TYPE="ftps_explicit" ENCRYPTDATACHANNEL="YES" LOGFILE="FTP.log" OVERWRITELOG="NO" PASSIVEMODE="YES" TIMEOUT="90" />

This appears to happen and creates the following log entries:

------------------------------------------------------------------------
Date : 30/04/2014 11:33:02
------------------------------------------------------------------------
Response: 220-Welcome on ftpsite.com , files on this server are not backuped.
Response: 220 xx.xx.xx.xx FTP server ready
Command : AUTH TLS
Response: 234 AUTH TLS successful
Command : USER user
Response: 331 Password required for user
Command : PASS ***
Response: 230 User user  logged in
Command : FEAT
Response: 211-Features:
Response:  MDTM
Response:  MFMT
Response:  TVFS
Response:  UTF8
Response:  AUTH TLS
Response:  LANG ko-KR;ru-RU;en-US;es-ES;it-IT;zh-CN;zh-TW;fr-FR;ja-JP;bg-BG
Response:  MFF modify;UNIX.group;UNIX.mode;
Response:  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Response:  PBSZ
Response:  PROT
Response:  REST STREAM
Response:  SIZE
Response: 211 End

Then when we try to download with the following:

<AMFTPDOWNLOAD SOURCE="/PROD/OUT/PO/*.done" DEST="\PurchaseOrders\" AM_ONERROR="BREAKLOOP" />

we get an error of "Unable to build data connection: Operation not permitted (425)"

If I turn encryption off in the connection we get "Unwilling to accept security parameters (534)"

 

We requested a certificate from the client and also tried using that but we get the same errors in both cases.



 Category Survey
AutoMate 7 version: 7.1.3
Windows version: Windows 2008 R2
 04/30/2014 12:07 PM
User is offline View Users Profile Print this message

Author Icon
Ricardo Castaneda
HelpSystems

Posts: 3424
Joined: 01/11/2008

Hi Graham,

Have you tried adding a check for compatibility mode in the FTP logon action?

 Category Survey


-------------------------

Ricardo Castaneda | Principal Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
 05/01/2014 12:21 AM
User is offline View Users Profile Print this message

Author Icon
GrahamBrigden
Student (5-19 posts)

Posts: 7
Joined: 10/19/2012

Hi,

 

Tried every possible combination of tick boxes and with and without a certificate.

 

Breaking things down and performing every command as a user_defined command, it seems that if I issue a PASV command then attempt a download the session times out, and without the PASV command I get the 425 error above.

 

As it turns out, we are not unique in this problem. Other companies the customer deals with have also reported the same issue. So for the moment they have reversed the change they made and we are working again. For a large number of companies to have the same problem it must be something at the customers end not set correctly.

Therefore this call can be closed.

Thanks



 Category Survey
AutoMate 7 version: 7.1.3
Windows version: Windows 2008 R2
 05/01/2014 08:45 AM
User is offline View Users Profile Print this message

Author Icon
Ricardo Castaneda
HelpSystems

Posts: 3424
Joined: 01/11/2008

Hi Graham,

Thank you for the update.

Let us know if anything changes.

 Category Survey


-------------------------

Ricardo Castaneda | Principal Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1404 guests browsing this forum, which makes a total of 1404 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog