In the SSH server logs, I simply see OpenFile() failed. Error = 32Cannot open remote file "/filepath/filename"
General failure (server should provide error description).
Error code: 4
Error message from server (en): The requested file can not be opened. Unexpected error. CreateFile(): Win32 Error: 32
Common reasons for the Error code 4 are:
- Renaming a file to a name of already existing file.
- Creating a directory that already exists.
- Moving a remote file to a different filesystem (HDD).
- Uploading a file to a full filesystem (HDD).
- Exceeding a user disk quota.
It says it can't open the file, but yet when I search on Win32 Error: 32 I see the definition is "The process cannot access the file because it is being used by another process". I checked the logs to see if maybe the file was being uploaded to the server the same time as they were trying to download the files. The file was uploaded to the server at 03:46 CT. The client was downloading at 07:33 CT so that isn't the case.
I checked the SSH logs and don't see more than one connection at the same time so it's not the case of two different users downloading the same file.
The SFTP server is Windows and the client computer is also Windows.