Dynamically create FTP folder using FTP adapter
So the requirement is to send the thing to FTP folder, it is normally ok to use the FTP adapter but this time the requirement is to create a folder following certain naming convention indicating the timestamp then upload the file to this folder.
After poking around for a while, got it working by using a dynamic FTP port, with the FTPPort(FTP.BeforePut) valued ‘MKD …; CWD …”, and, set the port address to the root folder. i.e. ftp://localhost/filename.txt
I hate doing this, if only MS enable macros in the before put command…