Error while fetching file from sFTP location | Community
Skip to main content
varshtus
Level 2
May 28, 2020
Solved

Error while fetching file from sFTP location

  • May 28, 2020
  • 4 replies
  • 5828 views

I am using File transfer activity to fetch file from 3rd party SFTP location

 

I have created the external account and configured File transfer activity as shown in below screenshot

 

However, below is the error I am getting

 

 

Any insight on how to resolve the issue will be appreciated

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Milan_Vucetic

Hi @varshtus ,

you should troubleshoot session log:

 

Apart from this, you should check:

  • The password doesn't contain '@'. The connection failed, if there is '@' in the password.
  • There are no firewall issues which can hamper communication between Adobe Campaign application server and SFTP server.
  • Run tracert and telnet commands from the campaign server to the sftp to see if there are any connection issues.
  • There are no communication protocol issues.
  • Port is open.

Regards,

Milan

4 replies

Darren_Bowers
Level 9
May 28, 2020

Hi @varshtus - you can try using cURL from the command line directly to transfer the file. This might give you more detail in what is failing in the cURL command

Use this in a JS activity

e.g.

 

logInfo(">>"+execCommand("curl -o /path/to/your/localfile.txt -u [username]:[password] sftp://your.sftp.server.host/path/to/yourremotefile.txt",true));

 

[edit - i gave you upload instructions incorrectly]

Anita_punmiya
Level 5
May 28, 2020

Hi @varshtus : Can you please check the server status ->external account which you are using to transfer the file to Adobe is active and also the folder definition.

Also, you may try to create a new File Transfer activity and reconfigure it.

Let me know if this helps.

 

Thanks,

Anita

Milan_Vucetic
Milan_VuceticAccepted solution
Level 9
May 29, 2020

Hi @varshtus ,

you should troubleshoot session log:

 

Apart from this, you should check:

  • The password doesn't contain '@'. The connection failed, if there is '@' in the password.
  • There are no firewall issues which can hamper communication between Adobe Campaign application server and SFTP server.
  • Run tracert and telnet commands from the campaign server to the sftp to see if there are any connection issues.
  • There are no communication protocol issues.
  • Port is open.

Regards,

Milan

_Manoj_Kumar_
Community Advisor
Community Advisor
May 29, 2020

Hello @varshtus ,

Please enable to session logs in the advanced parameters

 

Then you check the audit logs to troubleshoot at which point the sftp connection is thr

     Manoj     Find me on LinkedIn