I'm suffering a problem with remote file sharing between Windows Server and Liferay via WebDAV.
We need to deliver daily a series of Excel reports that are published via a Liferay server. Those reports are automatically made from miscellaneous resources and they are compiled and compressed by a set of scripts. Last of those scripts, a Windows batch file, copies the .ZIP files in which the reports are compressed into a WebDAV folder on the Liferay server. The .ZIP files are not too big. The biggest one has a size less than 500KB, the others hardly reach to 50KB. Depending on the day, between 3 and 5 files are published.
The problem occurs when the biggest report is copied to the server. While the others are copied without any problem, the biggest .ZIP file triggers an error message: «Delayed Write Failed. Windows was unable to save all the data for the file.»
I've searched about this error message, but all the references I could find are about older versions of Windows (XP, Server 2003, ...) and all them were solved by applying patches, hotfixes and service packs. We are using Windows Server 2013 and it is fully updated.
I've tried to debug the error by manually executing the involved scripts, and surprisingly, not all the runs failed. In near of 50 tries, all of them with big files, 3 copy processes were successful. I'm clueless about why these three runs went fine.
I'm afraid the problem is in the Liferay side, but nowadays none of our staff is enough skilled in this software to confront this issue. Any clues about where to search the misconfiguration that is causing this problem?