FTP automatically on startup?

zimu

Diamond Member
Jun 15, 2001
6,209
0
0
Is it possible to automatically upload by using FTP a file onto a server when you start the computer?

i was thinking of using the dos ftp prompt and just building a batch file, but i can't figure out how to automatically enter username/password.

can anyone help?

thanks!
 

AgaBoogaBoo

Lifer
Feb 16, 2003
26,108
5
81
get WS_FTP and set it to auto logon

are you able to make it start up on its own though with Windows?
 

zimu

Diamond Member
Jun 15, 2001
6,209
0
0
Originally posted by: AgaBooga
get WS_FTP and set it to auto logon

are you able to make it start up on its own though with Windows?

auto login can do one thing, but how can i automatically upload the file and quit out of the program, without ANY intervention on my part?

thanks!
 

Jzero

Lifer
Oct 10, 1999
18,834
1
0
I don't think the DOS ftp prog is scriptable. But with a better ftp prog, it should be pretty easy.
 

kranky

Elite Member
Oct 9, 1999
21,019
156
106
I think you can use a script file (a file that contains ftp commands, one per line) using
ftp -s <script-file-name>
 

FoBoT

No Lifer
Apr 30, 2001
63,084
15
81
fobot.com
Originally posted by: zimu
Originally posted by: FoBoT
use wget

i need to do something similar, but on a scheduled basis, so i am going to try the windows version of wget

GNU Wget

ftp download site

more info

i took a look at this, looks like its for downloading only...

D'oh! it is wget , duh, my bad

i only need downloading for my application

hmmm, maybe there is a wsend?

i found something called Robo-FTP , but it isn't free, it has a very high rating on download.com , but after 30 day trial you have to pay $ ($40)
 

dabuddha

Lifer
Apr 10, 2000
19,579
17
81
Originally posted by: zimu
Is it possible to automatically upload by using FTP a file onto a server when you start the computer?

i was thinking of using the dos ftp prompt and just building a batch file, but i can't figure out how to automatically enter username/password.

can anyone help?

thanks!

You can put a bunch of commands in a text file including your login info and have the dos ftp program run using that file.

e.g.
Create a text document with commands used when in FTP. Below is an example of what such a script may look like:

open ftp.domain.com
username
password
cd public_html
dir
get file.txt
bye