- 11.11.14 12:41
-
I was getting "jcifs.smb.SmbException: The handle is invalid." error message from some file-deployment code.
After troubleshooting for some time, I realized the issue actually is that code was trying to write file to a folder that does not exist in given share: simply code had neglected to actually create target folder on the share first.
To work around issue I simply created the folder it expected manually.