· Dec 17, 2019

Corrupted file with EnsLib.File.PassthroughService



I have a little problem that appears to my newest program. One of the purpose of my program is to  transfer a file from a path to another one.

Another person/entity places the file into a specific file ( let's call it \\Server\) but the problem is that my service (a simple EnsLib.File.PassthroughService) takes it and places it directly into my other path. The pdf file is very big and it happens almost all the time that the size of the output file is not the same as in input and so is corrupted.

My question is: is there any settings I should set to make it sure that the pdf file is completely loaded into the origin path before taking it? (By using the settings or by using code if it's necessary but I hope there is a simplier way by using the settings)

Thanks for your response,




Discussion (3)1
Log in or sign up to continue