如以上代码所示,我们要先执行所需的业务逻辑,然后准备Properties对象,或者传递文件名,以便调用自定义ftp类。
As shown in the above code, the idea is to implement the required business logic and then either prepare the Properties object or else pass the file name so that the custom FTP class is invoked.
如果这是一个滚动的日期(日期更改每一天为例)那么你将不得不把一些重构(改变文件名)或创建一个自定义跟踪侦听器。
If this is a rolling date (change the date every day for example) then you will have to incorporate some reconfiguration (to change the file name) or to create a custom trace listener.
应用推荐