The disadvantage of using the .NET solution is that it can't be implemented on a real-time target. If I want my RT controller to FTP a log file to me whenever a new one is created then I'll have to use something like Christian_L's example above (which looks pretty good to me).