Need help in copying XML files from FTP (a) to FTP (b)
Good day. We are trying to create a flow to copy XML files from our clients FTP server to our FTP server and we can't seem to make it work.
Below is the flow that we are working on.
Here are the parameters set on source FTP
Here are the parameters set on destination FTP
And below are the errors that we are getting.
Would appreciate any advice. Thanks!
0
Comments
Hi Raul,
In your import, do you have the blobKey in the advanced section ?
If not , please try to add the value "blobKey" for Blob path and retry.
Youssef
Hi Youssef Zouhairi, I've tried that one but unfortunately I'm still getting the same error below:
Raul Bernales
It seems that the issue is in the destination server. I tried the same configuration as yours in my account and it works.
Try to create a flow with as Export , some csv that you parse, and then as Import, you re-create the csv and deposit the file in the server. That's the way I would troubleshoot it.
This is to be sure it's not a blob issue and confirm that the connection to the distant server works correctly.
Youssef Zouhairi
We've advanced a bit by changing the File name handlebar expression from {{{record.fileName}}} to SHIPMENT-{{timestamp "YYYY-MM-DD hh:mm:ss" "America/Chicago"}}.XML
Any chance anyone can help provide the correct handlebar expression to use the exact filename of the source XML file(s). Below are samples of the source XML filenames.
Many thanks in advance!
Finally was able to make it work to get the exact filename by reading the article Get the file name and size of FTP exports. I used the preSavePage function shared by Kathyana Queeman below so the handlebar expression {{record.fileName}} can work.
Please sign in to leave a comment.