优化bug
This commit is contained in:
+3
@@ -104,6 +104,9 @@ class XmBankVillageFtpUtils {
|
||||
println "开始上传Excel文件到: ${remoteFilePath}"
|
||||
println "文件大小: ${excelBytes.length} 字节"
|
||||
|
||||
// 确保远程目录存在
|
||||
sftp.createDir(ftpPath, sftpChannel)
|
||||
|
||||
// 将字节数组转换为输入流
|
||||
InputStream inputStream = new ByteArrayInputStream(excelBytes)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user