Error while fetching file from sFTP location

Avatar

Avatar
Level 1
varshtus
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
varshtus
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
View profile
varshtus
Level 1

28-05-2020

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

varshtus_1-1590694843203.png

 

However, below is the error I am getting

 

varshtus_0-1590694691003.png

 

Any insight on how to resolve the issue will be appreciated

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Contributor
MVP
Milan_Vucetic
MVP

Likes

166 likes

Total Posts

384 posts

Correct reply

135 solutions
Top badges earned
Contributor
Springboard
Shape 1
Validate 25
Validate 10
View profile

Avatar
Contributor
MVP
Milan_Vucetic
MVP

Likes

166 likes

Total Posts

384 posts

Correct reply

135 solutions
Top badges earned
Contributor
Springboard
Shape 1
Validate 25
Validate 10
View profile
Milan_Vucetic
MVP

29-05-2020

Hi @varshtus ,

you should troubleshoot session log:

image.png

 

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

Answers (3)

Answers (3)

Avatar

Avatar
Affirm 100
MVP
_Manoj_Kumar
MVP

Likes

115 likes

Total Posts

328 posts

Correct reply

102 solutions
Top badges earned
Affirm 100
Validate 1
Contributor
Ignite 1
Shape 1
View profile

Avatar
Affirm 100
MVP
_Manoj_Kumar
MVP

Likes

115 likes

Total Posts

328 posts

Correct reply

102 solutions
Top badges earned
Affirm 100
Validate 1
Contributor
Ignite 1
Shape 1
View profile
_Manoj_Kumar
MVP

29-05-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

Avatar

Avatar
Contributor
MVP
Anita_p
MVP

Likes

118 likes

Total Posts

119 posts

Correct reply

29 solutions
Top badges earned
Contributor
Shape 1
Ignite 3
Ignite 1
Validate 1
View profile

Avatar
Contributor
MVP
Anita_p
MVP

Likes

118 likes

Total Posts

119 posts

Correct reply

29 solutions
Top badges earned
Contributor
Shape 1
Ignite 3
Ignite 1
Validate 1
View profile
Anita_p
MVP

28-05-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

Avatar

Avatar
Validate 1
MVP
Darren_Bowers
MVP

Likes

80 likes

Total Posts

279 posts

Correct reply

87 solutions
Top badges earned
Validate 1
Affirm 50
Establish
Give Back 3
Applaud 25
View profile

Avatar
Validate 1
MVP
Darren_Bowers
MVP

Likes

80 likes

Total Posts

279 posts

Correct reply

87 solutions
Top badges earned
Validate 1
Affirm 50
Establish
Give Back 3
Applaud 25
View profile
Darren_Bowers
MVP

28-05-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]