Hello,
My requirement is to pick a file from SFTP location and then process it.
So ideally, if File not found in SFTP location, it should go to FILE NOT FOUND flow and end there, as per my workflow, instead it's breaking before step.
Please let me know, how to solve it?
NOTE: One more question to transfer files from SFTP location in Adobe campaign, we should be using ideally File collector or File Transfer activity?
cc : Adhiyan
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
From the error it seems, you have not assigned the proper directory+file name to file transfer activity. the error indicates that there is no file name so script considers folder name as file and fails.
you need to ensure that directory does exist and the existence of the file is optional.
The 'Server folder' contains the file path to the file on the sFTP that you wish to import, you will be provided the filename in the ticket. Simply paste in the filename provided after the folder directory (with extension) after '/custom-folder/file-name.csv'
Regards,
Amit
Views
Replies
Total Likes
Use File Collector if you are trying to download file from Adobe provided sFTP to Adobe Campaign. For any other external sFTP you should use File Transfer.
The error looks strange and definitely not the expected behavior.
Out of curiosity, I can see that the workflow says there is 1 file to transfer and then says File not found.
Regards,
Vipul
Views
Replies
Total Likes
Vipul Raghav can you please specify which scenario I should be using File collector and File Transfer? And which purpose each one is for?
Views
Replies
Total Likes
Vipul Raghav, Could you make out the error? I was confused with it. As not able to figure out is linking between SFTP and ACM is done properly or not.
Views
Replies
Total Likes
Hi,
As stated above Use File Collector if you are trying to download file from Adobe provided sFTP to Adobe Campaign. For any other external sFTP you should use File Transfer.
File Collector is to fetch a file from a directory on the sevrver. As Campaign provided sFTP is basically another directly on the app server it is recommended to use File Collector.
File Transfer on the other hand is there to connect to any external sFTP through connection details provided on external account and then upload/download a file from there.
Regards,
Vipul
Views
Replies
Total Likes
We are currently using External SFTP folder, so I will be using FILE TRANSFER Activity as suggested.
So, coming back to the above error screenshot, let me know how to resolve it.
Views
Replies
Total Likes
Hi,
From the error it seems, you have not assigned the proper directory+file name to file transfer activity. the error indicates that there is no file name so script considers folder name as file and fails.
you need to ensure that directory does exist and the existence of the file is optional.
The 'Server folder' contains the file path to the file on the sFTP that you wish to import, you will be provided the filename in the ticket. Simply paste in the filename provided after the folder directory (with extension) after '/custom-folder/file-name.csv'
Regards,
Amit
Views
Replies
Total Likes