android - Java jcifs 设置属性作者
问题描述
我在我的 Kotlin 应用程序中使用 jcifs。
我想将文件写入 SMB 服务器。
如何在 jcifs 中设置文件属性“Autor”?
这是我的代码:
var smbfile: SmbFile = SmbFile(path, auth)
val smbfos = SmbFileOutputStream(smbfile)
smbfos.write(it.readBytes())
解决方案
推荐阅读
- python-2.7 - Python 全局变量在函数中不可用
- python - Count and sum numbers by name
- javascript - 如何让 IDE 了解来自 JavaScript CDN 的符号信息?
- typescript - 我无法获得 json 格式的 multitem AsyncStorage React native
- security - GPG --decrypt 无法识别 --passphrase 选项
- postgresql - Postgresql:创建一个具有唯一值不区分大小写的文本字段,citext vs nondeterministic collation
- javascript - javascript - 从 javascript 对象中查找嵌套属性
- python-3.x - 如何在 Python 上使用 SoX 获取 MP3 文件的持续时间
- javascript - 单击时将 Bootstrap Dropdown 值重置为默认值
- discord.py - 放大默认表情符号 discord.py