Link to home
Start Free TrialLog in
Avatar of wingkchan
wingkchan

asked on

Missing a few FTP functions in Windows 2000

Hi experts,

I just setup a batch file on a windows 2000 server to FTP some files.  but then i found that it doesn't run because the server doesn't have the function to call a pre-defined FTP file.

FTP -s:file.txt

I check other Windows 2000 server, and they do have the -s option.  They all have SP4 installed.  Is there any missing package that could have caused this?  Thank you.

Avatar of jeff_01
jeff_01

Open a dosprompt and cd to the directory that has the file.txt in it and then type

ftp -s:file.txt

Just checking to see if maybe ftp cant find the file.txt file. You have to be in the directory your file.txt file is in before you run the ftp -s command.

Lets see how that goes.

Jeff
Avatar of wingkchan

ASKER

Jeff,

the funny thing is that that particular server doesn't off the FTP -s option.  it only has the following:

C:\Documents and Settings\user>ftp --help
Usage: ftp [OPTION...] [HOST [PORT]]
Remote file transfer

  -d, --debug                Turn on debugging mode
  -g, --no-glob              Turn off file name globbing
  -i, --no-prompt            Don't prompt during multiple-file transfers
  -n, --no-login             Don't automatically login to the remove system
  -t, --trace                Enable packet tracing
  -p, --prompt[=PROMPT]      Print a command-line prompt (optionally PROMPT),
                             even if not on a tty
  -v, --verbose              Be verbose
      --help                 Give this help list
      --version              Print program version

Submit bug reports to <bug-inetutils@gnu.ai.mit.edu>.


ASKER CERTIFIED SOLUTION
Avatar of jeff_01
jeff_01

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry for the late reply... I see that the server has a cute ftp pro installed, (as that seems to be the only program that relates to FT), but I am not sure if that is the reason why it becomes my FTP client too.  But since there are other people that uses that server, i will leave it intact.  But, thanks for pointing me to this.