Dynamically create FTP folder using FTP adapter

Editorial architecture visual showing FTP adapter file-drop flow, dynamic folders, delivery notification, and transfer boundaries

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…

Next step

Need this reviewed in a real system?

Use the article as a starting point, then bring the actual decision, constraints, and failure paths into an architecture review.

Join the discussion

Sign in to comment. Signed-in comments appear immediately.

Join the discussion