[英]How to get the name of a file in WSO2?
Is there any way to store the name of a particular file in a property mediator in WSO2? 有什么方法可以在WSO2的属性中介器中存储特定文件的名称? I have looked in fileconnector but it does not have any thing that can get the name of file.
我看过fileconnector,但它没有任何可以获取文件名的东西。
If you need to obtain a filename in your vfs proxy, you can use 如果您需要在vfs代理中获取文件名,则可以使用
<property expression="get-property('transport','FILE_NAME')" name="filename"/>
The variable "filename" will contain the name of currently processed file. 变量“文件名”将包含当前处理文件的名称。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.