FileSystemManager.copyFile

2020-02-14 13:41 更新

FileSystemManager.copyFile(Object object)

復(fù)制文件


輸入

繼承標(biāo)準(zhǔn)對(duì)象輸入,擴(kuò)展屬性描述:

屬性類型默認(rèn)值是否必填說明
srcPathstring源文件路徑,只可以是普通文件
destPathstring目標(biāo)文件路徑


錯(cuò)誤

fail 回調(diào)函數(shù)接收的對(duì)象擴(kuò)展屬性:

屬性類型說明支持版本
errMsgstring錯(cuò)誤信息
說明
fail permission denied, unzip ${zipFilePath} -> ${destPath}指定目標(biāo)文件路徑?jīng)]有寫權(quán)限
fail no such file or directory, unzip ${zipFilePath} -> "${destPath}源文件不存在,或目標(biāo)文件路徑的上層目錄不存在


以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)