Daikenkaiking Posted October 10, 2006 Share Posted October 10, 2006 My question: Is sending files VIA TCP possible, and if so, how would I go about doing so? Thanks Link to comment Share on other sites More sharing options...
Daikenkaiking Posted October 10, 2006 Author Share Posted October 10, 2006 (edited) Oh man, I totally forgot to search. =/ Sorry. EDIT: Still can't find it, I searched "Send files TCP", "Send files over TCP", "Files and TCP", and a few others. And still nothing. =/ Edited October 10, 2006 by Daikenkaiking Link to comment Share on other sites More sharing options...
dabus Posted October 10, 2006 Share Posted October 10, 2006 Try this one: http://www.autoitscript.com/forum/index.php?showtopic=26539 Link to comment Share on other sites More sharing options...
Daikenkaiking Posted October 10, 2006 Author Share Posted October 10, 2006 I've looked though many codes, and none of them will work for what I am using... My system works like this: cmd|option1|option2.... and then stringsplit and select cases, and its not ran in the main while loop, so I have no figured out how to do this yet.. What do I need to do to send files? I tryed Turing the strings to hex and sending them, and then un-hexing them, and the same with binary. None were good... Help please, sorry about the noobie-ness of this :"> Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 11, 2006 Moderators Share Posted October 11, 2006 I've looked though many codes, and none of them will work for what I am using...My system works like this:cmd|option1|option2....and then stringsplit and select cases, and its not ran in the main while loop, so I have no figured out how to do this yet..What do I need to do to send files? I tryed Turing the strings to hex and sending them, and then un-hexing them, and the same with binary. None were good... Help please, sorry about the noobie-ness of this :">Need to make sure the ports are forwarded on the receiving end more than likely (if none of the current UDFs the forum has are working). Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Daikenkaiking Posted October 11, 2006 Author Share Posted October 11, 2006 (edited) I have the ports forwarded, both TCP and UDP. I read somewhere that the TCP functions don't allow Chr(0) and that I need to change those...? o.0 And also, How would I go about sending parts of a file at a time, i'm thinking that its not working, due to the fact of the data being too big for the transfer... Edited October 11, 2006 by Daikenkaiking Link to comment Share on other sites More sharing options...
Daikenkaiking Posted October 11, 2006 Author Share Posted October 11, 2006 (edited) Oh my god xD I was ready all the old ones, then. xD Okay, thats for the help so far, if I figure it out, i'll post so you don't waste your time. EDIT: *Sigh* no luck Edited October 11, 2006 by Daikenkaiking Link to comment Share on other sites More sharing options...
jvanegmond Posted October 11, 2006 Share Posted October 11, 2006 Well, did you manage to connect to the receiver at all? If you do, it's easy from there on. github.com/jvanegmond Link to comment Share on other sites More sharing options...
jvanegmond Posted October 11, 2006 Share Posted October 11, 2006 Having a mistress sucks so badly. I recently broke up with my girl and my mistress because I felt bad. I've felt terrible since. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Daikenkaiking Posted October 11, 2006 Author Share Posted October 11, 2006 Well, did you manage to connect to the receiver at all? If you do, it's easy from there on.Yes, I can send messages just fine, just not file. Link to comment Share on other sites More sharing options...
jvanegmond Posted October 11, 2006 Share Posted October 11, 2006 (edited) So you did something like.. $Data = FileRead("file.txt") ;connect and everything TCPSend($Socket, $Data) ExitoÝ÷ Ø Ý¢{azaz»"u쨺Ƣu«¢+Øí½¹¹Ð¹ÍÑÕ(ÀÌØíÑôQ AIØ ¸¸¸¤ìÁɵÑÉÌ)¥±]É¥Ñ ÅÕ½Ðí¹Ý¥±¹ÑáÐÅÕ½Ðì°ÀÌØíѤ Edited October 11, 2006 by Manadar github.com/jvanegmond 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