This content has been marked as final. Show 4 replies
I'm assuming that you are using the PULL adapter for this. In that case simply put your FTP code in the Load Action script which will be empty (make sure its enabled in the Integration settings) so you can put whatever content you want in it. I've done this before using the in built FTP that ships with the Windows OS. Loads of examples on the internet on how to use this.
There are many FDM locations share the loacation script, so it can not be empty, i can only add some codes there. So the code should be like below.
If locationname = mylocation then
My issue is
1. i did not find ftp codes example on internet.
2. Can i add the ftp code to the AftExportAction script ? If yes, how can i make sure FDM do not execute the loadaction script if the location name is mylocation ?
3. If i have to add code to the LoadAction script, how can i make sure nothing happened except the FTP function ?
Here is a link that describes the windows ftp client commands
They can be executed from the command line or encapsualted in a batch script. All you need to do is create a command shell in your script and execute the commands directly or call the batch script
Thank you SH. Now we use windwos batch instead of FDM script.