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.