Hi, I am trying to send a file (using your sendfile example script). I need to send only 256 bytes and wait for a reply before sending the next 256 byte package. Rinse and repeat until the end of the file. I am an experienced coder but new to ScriptCommander. Thank you for your help in advance!
Ray
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
you can find a script in the attachment that sends a file in chunks of 256 bytes and waits for the string 'Ready' before sending a new chunk. If the response string is not received within 2 seconds a timeout occurs and the sending fails.
Hi, I am trying to send a file (using your sendfile example script). I need to send only 256 bytes and wait for a reply before sending the next 256 byte package. Rinse and repeat until the end of the file. I am an experienced coder but new to ScriptCommander. Thank you for your help in advance!
Ray
Hi Ray,
you can find a script in the attachment that sends a file in chunks of 256 bytes and waits for the string 'Ready' before sending a new chunk. If the response string is not received within 2 seconds a timeout occurs and the sending fails.
Regards
Stefan
Hi Stefan,
Thank you so much!!! Works perfectly. This is an amazing tool. I can't wait to explore all of it's other power.
Regards,
Ray