Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/elixir/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Chilkat ftp.SyncLocalDir是否打开文件?_Ftp_Chilkat - Fatal编程技术网

Chilkat ftp.SyncLocalDir是否打开文件?

Chilkat ftp.SyncLocalDir是否打开文件?,ftp,chilkat,Ftp,Chilkat,当本地目录上有一个打开的文件时,ftp.SyncLocalDir出现问题 我使用的是来自的示例,其中有一些小改动。它已经正常工作了几天,然后就停止工作了。 我发现其中一个文件在本地目录中打开。通过论坛,我看到其中一个答案是 “Chilkat将检测可能是权限/访问错误的错误,并将继续下载剩余内容。” 这对我来说是不可能的。查看最后一个错误文本,它表明该文件已被另一个进程使用。没有其他文件得到同步。 我是否需要向代码中添加其他内容,以强制它在出错后继续 下面是最后一个错误文本 谢谢, 史蒂夫 请为.

当本地目录上有一个打开的文件时,ftp.SyncLocalDir出现问题

我使用的是来自的示例,其中有一些小改动。它已经正常工作了几天,然后就停止工作了。 我发现其中一个文件在本地目录中打开。通过论坛,我看到其中一个答案是 “Chilkat将检测可能是权限/访问错误的错误,并将继续下载剩余内容。”

这对我来说是不可能的。查看最后一个错误文本,它表明该文件已被另一个进程使用。没有其他文件得到同步。 我是否需要向代码中添加其他内容,以强制它在出错后继续

下面是最后一个错误文本

谢谢, 史蒂夫


请为.NET 4.0 Framework尝试此新版本:

32位下载:

64位下载:

继续过去的权限/访问问题的特性与远程服务器上的问题有关,而不是与本地文件系统有关。这个新版本现在也应该对本地权限错误执行相同的操作。Chilkat版本9.5.0.47发布时(即将发布),将在发行说明中予以说明


如果您遇到问题,请使用此新版本发布LastErrorText。

现在可以正常工作。谢谢
ChilkatLog:
SyncLocalDir:
DllDate: Dec  5 2014
ChilkatVersion: 9.5.0.46
UnlockPrefix: *********
Username: *********
Architecture: Little Endian; 32-bit
Language: .NET 4.0
VerboseLogging: 0
commandCharset: ansi
dirListingCharset: ansi
localDirPath: Q:\TEST
mode: 2
ProgressMonitoring:
  enabled: yes
  heartbeatMs: 0
  sendBufferSize: 65536
--ProgressMonitoring
downloadDir:
  getFile2:
    localFilename: Q:\TEST/LINE_6 _13.csv
    Replacing existing local file
    openForReadWriteWin32:
      Failed to open file (2)
      localFilePath: Q:\TEST\LINE_6 _13.csv
      currentWorkingDirectory: H:\Code In Progress\LLS\Gen 3 Test And Crimp
      w-network\VB Code\trunk\FTP Syncronize\bin\Debug
      osErrorInfo: The process cannot access the file because it is being us
      ed by another process.
      localWindowsFilePath: Q:\TEST\Line 6\LINE_6 _13.csv
    --openForReadWriteWin32
  --getFile2
  Failed to download file
  failedFilename: /LINE_6 _13.csv
--downloadDir
Failed.
--SyncLocalDir
--ChilkatLog