I\'m currently using a HttpResponse to download files from my Server. I already have a couple functions being used to download Excel/Word files, but I\'m having trouble getting my simple Text file (.t
I have a 5Mb pdf on the server dowloading this file using a writeFile gives me a 15Mb download, where as the transmitfile gives the correct 5Mb filesize...
First, a bit of background -- I am writing a basic FTP server for a personal project. I\'m currently working on retrieving files. My current implementation looks like this:
In the comments of this page: http://msdn.microsoft.com/en-us/library/12s31dhy%28v=VS.90%29.aspx ..it says that TransmitFile() cannot be used with UNC shares. As far as I can tell, this is the case;