CSP Posted June 28, 2007 Share Posted June 28, 2007 (edited) Ouch.. I made a dupe by mistake.. How do I delete a post? Edited June 28, 2007 by CSP Link to comment Share on other sites More sharing options...
Developers Jos Posted June 28, 2007 Developers Share Posted June 28, 2007 Ouch.. I made a dupe by mistake..How do I delete a post?second is gone ... maybe the wrong one ?Just edit this one if needed .. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
CSP Posted June 28, 2007 Author Share Posted June 28, 2007 (edited) lol dude that is not cool! $temp = FileOpen("small.xml", 0) $body = FileRead($temp) FileClose($temp) $body = StringReplace($body, "<", "{^}<") $body = StringReplace($body, ">", "{^}>") $body = StringReplace($body, "@LF", "") $body = StringReplace($body, "@CF", "") $body = StringReplace($body, "@CFLF", "") Send("echo "&$body&" > test.xml{ENTER}") Does anyone know why newlines are not being removed? I'm trying to read a local file and create a copy at a remote machine that's connected via telnet. Unfortunately ftp and other options aren't available. Just me and my best friend telnet. Edited June 28, 2007 by CSP Link to comment Share on other sites More sharing options...
Developers Jos Posted June 28, 2007 Developers Share Posted June 28, 2007 sure: $body = StringReplace($body, @LF, "") etc.. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
CSP Posted June 28, 2007 Author Share Posted June 28, 2007 Why of course... I'll go shoot myself now. Thank you. Link to comment Share on other sites More sharing options...
Developers Jos Posted June 28, 2007 Developers Share Posted June 28, 2007 I'll go shoot myself now.Thank you.Just updating the script works better SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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