Computing.Net > Forums > Programming > batch script to upload to ftp

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

batch script to upload to ftp

Reply to Message Icon

Name: pball
Date: September 17, 2008 at 16:23:38 Pacific
OS: XP Pro
CPU/Ram: 2.8 ghz / 2 gig
Product: home made
Comment:

I would like to make a batch script to find my external ip address then upload it via ftp to a free website I have. The purpose being so I could find out my ip address to ftp home while I'm away, just in case my ip address changes.

Since i don't have a router at this time I just ipconfig > ip.txt then try to upload it via ftp.

The problem is I couldn't get the command right to upload the file to my ftp. How would i log into the ftp which needs a user and pass then upload the file which would be in the same folder as the batch script.

Also does anyone know of a way to find your external ip address if you have a router using a command line program or some other trick.
thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: September 17, 2008 at 17:23:23 Pacific
Reply:

Better idea: DynDNS


0

Response Number 2
Name: pball
Date: September 17, 2008 at 17:40:11 Pacific
Reply:

yeah a friend just gave me a free dns program never though of that. makes it easy to give out too


0

Response Number 3
Name: Mechanix2Go
Date: September 18, 2008 at 02:55:17 Pacific
Reply:

"yeah a friend just gave me a free dns program"

got a link ?


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

M2


0

Response Number 4
Name: Razor2.3
Date: September 18, 2008 at 03:01:27 Pacific
Reply:
0

Response Number 5
Name: pball
Date: September 18, 2008 at 03:40:23 Pacific
Reply:

or this is what i'm using

http://www.no-ip.com/downloads.php?...

this is the little update program
you just have to set up an account on the site, it's simple and free so your stuck with something like yourname.myftp.biz or something like that


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






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


Sponsored links

Ads by Google


Results for: batch script to upload to ftp

Batch Script To FTP a file www.computing.net/answers/programming/batch-script-to-ftp-a-file/17008.html

batch script to parse filenames www.computing.net/answers/programming/batch-script-to-parse-filenames/15286.html

batch script to copy current date f www.computing.net/answers/programming/batch-script-to-copy-current-date-f/14097.html