开发者

To display a read error when the source file is used by other applications while transfering using MQFTE?

开发者 https://www.devze.com 2023-03-03 01:21 出处:网络
I need to display a read error when the source file is being used by other applications. For example : Source filename: test.txt Content: Test file.

I need to display a read error when the source file is being used by other applications.

For example : Source filename: test.txt Content: Test file.

The above content is stored in the txt file and saved.

The txt file is opened and is modified as below but not saved.

Test file is modified.

When i invoke the transfer now i should get a read error, instead the file gets transferred with the last saved content(Test file).

What can i do to dis开发者_开发问答play a error message?

This case was tested in unix and windows.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号