Computing.Net > Forums > Programming > Variable not working.

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Variable not working.

Reply to Message Icon

Original Message
Name: remgu
Date: May 14, 2007 at 12:50:39 Pacific
Subject: Variable not working.
OS: XP
CPU/Ram: P4 3.4Ghz 1GB Ram
Model/Manufacturer: Clone
Comment:

Hey guys, any idea why the second option below does not work?

I have a variable (serverip) which is passed on when I call it but the server closes the connection, it doesn't seem to like it.

I am passing other variables just fine, the only difference is that they have no numbers or periods like in this one.

Set serverip=192.168.1.1

my.ftp echo o 192.168.1.1 --------works fine

my.ftp echo o %serverip% --------doesn't work

Thanks,
REMGU


Report Offensive Message For Removal


Response Number 1
Name: remgu
Date: May 14, 2007 at 13:31:08 Pacific
Reply: (edit)

Duh...I had the wrong IP!!!!!

Thanks,
REMGU


Report Offensive Follow Up For Removal

Response Number 2
Name: Mechanix2Go
Date: May 15, 2007 at 01:09:09 Pacific
Reply: (edit)

That'll do it every time.


=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software