Jump to content
Sign in to follow this  
Crome_BAD

TCP Sending Files?

Recommended Posts

Lol keep it simple:P Im trying to create a program where i can update all of the cps within my network at the same time...via the TCP functions...i just need to figure out how to send files with them....

Crome

Share this post


Link to post
Share on other sites

Im just looking for a way to send a file from one cp to another...i was wondering if i could do sumtin with the file to send it over easier....and then reassemble it on the other cp....

Crome

Share this post


Link to post
Share on other sites

I think AutoIt needs to read/write in binary in order to do this, which it currently doesn't.

Edited by Burrup

qq

Share this post


Link to post
Share on other sites

I just modified larry's example to send a file from the server to the client, but it gets chopped off at around 500 bytes in length. I don't have time to modify it to send the data in smaller chunks, but it would be pretty easy.

To use it, type 'fsend' on the server, and pick a text file, then click ok. When you close the client, it will write the first ~500 bytes of the server's text file to a file called "proofofconcept.txt" on your desktop...

TCP_server_client.rar

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...