Jump to content
Sign in to follow this  
Xwolf

Transport Files

Recommended Posts

Xwolf

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 by Xwolf

Share this post


Link to post
Share on other sites
yucatan

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.

Share this post


Link to post
Share on other sites
Xwolf

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 by Xwolf

Share this post


Link to post
Share on other sites
yucatan

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×