problem with trnasferring a exe file using socket
-
Hello all I am transferring an exe file over a socket to some remote pc. Now the problem is when i run this exe on remote pc, it doesnt work properly. I checked few things like my transfer code which works well (i checked with different file types like .cpp,.txt file and also the size on both side is same). Also i did the file comparision of both the files using DOS command fc.(i sent the file on same pc over socket n did it) and there is no difference in both files. When i run the received file,it gives me a error as "C:\DOCUME~1\....TEMP\. A temporary file needed for initialization could not be written to. Make sure that the directory path exists,and the disk space is available. Choose 'close' to terminate the application" I sm unable to get the error as i m the administrator of the pc and the disk is also not full. Please suggest me a way out of it. thanks kunal s patel
-
Hello all I am transferring an exe file over a socket to some remote pc. Now the problem is when i run this exe on remote pc, it doesnt work properly. I checked few things like my transfer code which works well (i checked with different file types like .cpp,.txt file and also the size on both side is same). Also i did the file comparision of both the files using DOS command fc.(i sent the file on same pc over socket n did it) and there is no difference in both files. When i run the received file,it gives me a error as "C:\DOCUME~1\....TEMP\. A temporary file needed for initialization could not be written to. Make sure that the directory path exists,and the disk space is available. Choose 'close' to terminate the application" I sm unable to get the error as i m the administrator of the pc and the disk is also not full. Please suggest me a way out of it. thanks kunal s patel
-
i used the CreateFile API. In that what flags shud i set. thanks kunal