Crome_BAD Posted May 29, 2005 Posted May 29, 2005 Is there a way to send files via the TCP functions in AutoIt yet? Crome
Alterego Posted May 29, 2005 Posted May 29, 2005 I can see it now. A peer to peer program that actually works written in AutoIt. This dynamic web page is powered by AutoIt 3.
Crome_BAD Posted May 29, 2005 Author Posted May 29, 2005 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
Alterego Posted May 29, 2005 Posted May 29, 2005 Sure there is This dynamic web page is powered by AutoIt 3.
Crome_BAD Posted May 29, 2005 Author Posted May 29, 2005 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
buzz44 Posted May 29, 2005 Posted May 29, 2005 (edited) I think AutoIt needs to read/write in binary in order to do this, which it currently doesn't. Edited May 29, 2005 by Burrup qq
Alterego Posted May 29, 2005 Posted May 29, 2005 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 This dynamic web page is powered by AutoIt 3.
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