Hi Team,
I haven't found file collector activity in ACS, Then How can move a file on SFTP from one folder to another via technical workflow?
Below scenario i am trying to achieve,
Using file transfer i will pick the file from SFTP server, Then i need to move the processed file into separate folder (ex Archive folder in sftp path)
Please advise on the same.
Thanks,
Sakthi Kumar
Solved! Go to Solution.
Hi,
as said there is no such option available. The "Upload file" will take whatever is provided within the workflow transition.
Though as said:
* Use "download files" and specify "file present on Adobe Campaign server"
* This will fetch the file and store it in the temporary folder belonging to the current workflow instance
* In addition, it will be attached to the current transition
* Thus, adding a new "Upload file" afterwards will take that file and send it to SFTP/S3 destination
The only thing to take care of that the data in the transition is not getting overwritten.
i.e. if you have "Load File", it will have the line records in the transition.
Thus in my example above the Fork + AND-Join as by this the file pointer can be kept in the transitions
Hi,
for that use case you would have to use the Transfer File activity.
Adobe Campaign Help | Transfer file
This will connect to the SFTP server, download the file locally to Campaign server.
You then can choose "Delete file after transfer" to have it removed from source directory
Then you can process it and use another Transfer File activity to put it back to the SFTP server.
Hi Ramon,
Thanks for your response, But if I use file transfer activity to upload the sftp path its not showing the below option.
“ File(s) present on the Adobe Campaign server”
Then how can I upload the processed file into different path.
Thanks,
Sakthi Kumar G
Views
Replies
Total Likes
Hi Ramon,
Thanks for your response, But if I use file transfer activity to upload the sftp path its not showing the below option.
“ File(s) present on the Adobe Campaign server”
Then how can I upload the processed file into different path. Please find the below screenshot for the same.
Views
Replies
Total Likes
The file would be taken from the transition.
So if you have a local file you would have to:
Views
Replies
Total Likes
Hi Ramon,
I have tried the same but no luck, Please find the below WF screenshot
In the first activity i am downloading file from sftp using option "Files present in Campaign server", Then loading file with proper datatype and again tried to upload the processed file to another path via transfer file activity.
But no option found "Files present in Campaign server" whenever choosing file upload.
Views
Replies
Total Likes
Hi Sakthi,
the "Load file" will change the targeting dimension so the file reference will be lost before the "Transfer file 3" activity.
What you have to do:
Hi Ramon,
Followed the same, But getting an error in second file transfer activity
Can you please open the share screenshot of protocol specification of transfer file 2 activity of your workflow.
Views
Replies
Total Likes
Can you maybe post the error message?
Hi Ramon,
I am not trying with external account, For download/upload i am using this "File(s) present on the Adobe Campaign server". My question for file transfer download option above option is visible, But the same is not visible while doing file upload.
Can you please advise which option i need to use for uploading file in Adobe campaign sftp server.
Thanks,
Sakthi Kumar
Views
Replies
Total Likes
Hi,
as said there is no such option available. The "Upload file" will take whatever is provided within the workflow transition.
Though as said:
* Use "download files" and specify "file present on Adobe Campaign server"
* This will fetch the file and store it in the temporary folder belonging to the current workflow instance
* In addition, it will be attached to the current transition
* Thus, adding a new "Upload file" afterwards will take that file and send it to SFTP/S3 destination
The only thing to take care of that the data in the transition is not getting overwritten.
i.e. if you have "Load File", it will have the line records in the transition.
Thus in my example above the Fork + AND-Join as by this the file pointer can be kept in the transitions