|
You represent everything soulless and wrong
"... having only that moment finished a vigorous game of Wiff-Waff and eaten a tartiflet." - Henry Minute
"Let's face it, after Monday and Tuesday, even the calendar says WTF!" - gavindon
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning. - gavindon
|
|
|
|
|
You forgot "morally bankrupt".
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Well that would have just been downright mean
"... having only that moment finished a vigorous game of Wiff-Waff and eaten a tartiflet." - Henry Minute
"Let's face it, after Monday and Tuesday, even the calendar says WTF!" - gavindon
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning. - gavindon
|
|
|
|
|
Just turn around and wok away.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
It's shocking how well grounded you were being faced with the threat of living in the dark ages.
What? wasn't that the thought of the day?
|
|
|
|
|
I am trying to get a windows script to run something on a unix server.
Simple.
Except that it seems Windows telnet does not allow you to pass in a file of commands to run.
OK, try plink.
Except plink does not allow you to pass in a password using telnet, it does for ssh.
OK, try ssh.
Except our server does not allow ssh.
OK, try the Telnet Scripting Tool, that looks perfect, exactly what I want.
Except it just sits there waiting for the login prompt before timing out.
AAAAGHH!
Anyone have a (free) recommendation that will although me to write a script on a windows box that will telnet onto a unix box and run a couple of commands upon it?
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
|
|
|
|
|
Dunno if it does, but check out PuTTY[^]
Maybe this[^] helps?
|
|
|
|
|
Plink is the command line interface for PuTTY.
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
|
|
|
|
|
I did not know that. Where is the egg-on-your-face icon
|
|
|
|
|
Maybe one of these[^] will do the job.
Doesn't seem like such a difficult requirement, yet finding a program to do it... hope you come right!
|
|
|
|
|
You're right, it doesn't seem like it, but...
I've spent a good few hours today chasing promising leads down dead ends so I thought I'd try to the collective mind of the smartest guys I know (this is going to get a lot less flattering if I don't get an answer soon).
The ideal solution would be to just get rid of the Windows server and do everything from Linux boxes. I'm beginning to think that might be easier.
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
|
|
|
|
|
I have used TeraTerm[^] in the past. Not sure if it will do files, don't see why not but it is scriptable. It hasn't been updated in a while but you can also try this link[^] for a different version.
Jack of all trades, master of none, though often times better than master of one.
|
|
|
|
|
chriselst wrote: Except our server does not allow ssh. Then install it. Telnet needs to die. You don't even need to pass in passwords with ssh if you configure your keys correctly. Auth is just handled. Makes doing remote work a breeze and way more secure than Telnet. So, if it's not installed, I'd be asking your sys admin why.
Jeremy Falcon
|
|
|
|
|
Ask them questions like that they get scared and confused and someone has to coax them back out from under a desk.
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
|
|
|
|
|
Jeremy Falcon
|
|
|
|
|
He shouldn't be a sysadmin, then.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Hm? What? Did I hear my name?
CommScript[^]
TelnetSocket[^]
Oh, and
ProcessCommunicator[^]
P.S.
chriselst wrote: it just sits there waiting for the login prompt before timing out.
Does the script need to press RETURN?
modified 25-Jun-15 16:15pm.
|
|
|
|
|
Have you tried cURL? I am working on building an x64 version with MinGW-w64 right now. I can upload it somewhere if you want.
It might take a little bit, as I am compiling in all optional dependencies (except OpenLDAP, as compiling that is a nightmare. Self-modifying Makefiles. Yuck!)
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Ah the smell of fresh, newly written code that is supposed to synch one database into another to provide important data in an application that is written with the finest of design patterns, best practices of codestyle and a modularity that allows to attach nearly everything to it.
But then on this mindbending task to synch three Datatables into one but its necessary to verify the data with to other datatables and the for loops and foreach loops get into your brain showing you how you f****d up on doing that because you refused to use Database Objects in your synchjob.
Maybe i should write an article why it's good to have Objects in your Framework that are 1:1 the rows of your Datatable and get additional programm info in their class to achieve the goal in less time than looping around twisting datatables and returning tons of data while triplechecking it.
Yes, i thought it would be an easy task but now im on a path that contains hurdles higher than the mountains, and yet i still refuse to use my Framework with the database objects because there are so many of them i dont need in that job.
But the the hell thought it would be hard to synch vacation days into a software ...
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
The mere fact that you want something to work a certain way, negates any possibility of such an event. If it didn't, everyone would be a software engineer/developer/programmer/idiot.
|
|
|
|
|
Auric Goldfinger wrote: software engineer/developer/programmer/idiot
er make that software engineer/developer/programmer/idiot/dick[^]
"... having only that moment finished a vigorous game of Wiff-Waff and eaten a tartiflet." - Henry Minute
"Let's face it, after Monday and Tuesday, even the calendar says WTF!" - gavindon
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning. - gavindon
|
|
|
|
|
Years ago, I worked on a check-writing application on a VAX/VMS box, written in C, with an Ingres database back end. All fine and good.
Write the checks, update the database, maintain integrity, increase check number, etc.
Then, two other sites were added to the node. All good.. separate databases.. no problem.
Check-writer... please change the code so that as checks are written against each system, duplicate check numbers are never used. Open three connections, update each with the last check number used, commit each session, close connections.
Not fun... I don't envy you.
|
|
|
|
|
Sounds like a job for an ETL process to me (SSIS?). :shrug:
|
|
|
|
|
|
Why? Because you hate Michael Jackson? Then I will help you. Or is it because this guy plays it? Then I will also help you because he did not use a decent electric guitar.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|