ftp /? - no help

B

Bob Byrne

Hi,
From a command prompt you can type eg, "dir /?" to get help on the syntax of any options.
When I type "ftp /?" I get:

C:\>ftp /?
Unknown host /?.
ftp>

Why am I not getting "ftp [-v] [-d] [-i] [-n] [-g] [-s:FileName] [-a] [-w:WindowSize] [-A] [Host]"
etc ......
 
S

Shenan Stanley

Bob said:
From a command prompt you can type eg, "dir /?" to get help on
the syntax of any options. When I type "ftp /?" I get:

C:\>ftp /?
Unknown host /?.
ftp>

Why am I not getting "ftp [-v] [-d] [-i] [-n] [-g] [-s:FileName] [-a]
[-w:WindowSize] [-A] [Host]" etc ......

Because with FTP, as you can see, the syntax for switches starts with a dash
(-), not a slash (/).

Try :

C:\>ftp -?

and you'll get:

Transfers files to and from a computer running an FTP server service
(sometimes called a daemon). Ftp can be used interactively.

FTP [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-w:windowsize] [-A] [

-v Suppresses display of remote server responses.
-n Suppresses auto-login upon initial connection.
-i Turns off interactive prompting during multiple file
transfers.
-d Enables debugging.
-g Disables filename globbing (see GLOB command).
-s:filename Specifies a text file containing FTP commands; the
commands will automatically run after FTP starts.
-a Use any local interface when binding data connection.
-A login as anonymous.
-w:buffersize Overrides the default transfer buffer size of 4096.
host Specifies the host name or IP address of the remote
host to connect to.

Notes:
- mget and mput commands take y/n/q for yes/no/quit.
- Use Control-C to abort commands.
 
B

Bob Byrne

Because with FTP, as you can see, the syntax for switches starts with a dash
(-), not a slash (/).

Try :

C:\>ftp -?
......

Thank you that works but you would think Microsoft would make sure their
Windows XP Help system was accurate.
Open Help and type "ftp".
Select "Ftp"
..........
/?
Displays help at the command prompt.

Remarks
You must prefix ftp parameters with a hyphen (-) rather than a slash (/).
..........

A contradiction?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top