Xwolf Posted October 20, 2009 Share Posted October 20, 2009 (edited) I had searched a lot of topics for this that how to transport jpg,rar or exe files. But I can not find anythings. Please help me.Thanks a lot. I was known how to use TCP for transporting a txt file. But when i was attemp to transport a exe file there was some problems. What i received can not run correctly. For example,i was receive the abc.exe file.When i run it that it was encounter a fails. Edited October 20, 2009 by Xwolf Link to comment Share on other sites More sharing options...
yucatan Posted October 20, 2009 Share Posted October 20, 2009 yes its possible just read the file and put the binary code in a variable sent the variable over tcp and in the reciever script make that it its puts the binary data in a var write the binary data to the file u wish and tadaaaa u have sender a .exe or jpg or whatever it does matters. Link to comment Share on other sites More sharing options...
Xwolf Posted October 20, 2009 Author Share Posted October 20, 2009 (edited) yes its possible just read the file and put the binary code in a variable sent the variable over tcp and in the reciever script make that it its puts the binary data in a var write the binary data to the file u wish and tadaaaa u have sender a .exe or jpg or whatever it does matters.I was known how to transport a txt file.But when i was attemp to transport a exe file there was some problems.What i received can not run correctly.For example,i was receive the abc.exe file.When i run it that it was encounter a fails. Edited October 20, 2009 by Xwolf Link to comment Share on other sites More sharing options...
yucatan Posted October 20, 2009 Share Posted October 20, 2009 I was known how to transport a txt file.But when i was attemp to transport a exe file there was some problems.What i received can not run correctly.For example,i was receive the abc.exe file.When i run it that it was encounter a fails.just post your code here Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now