Discussion Locked

ftp directions

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Can anyone tell me the general method of getting to an ftp site via a command prompt? I have an address that I know should work with anonymous logon, but I'm not sure of the protocol. Thanks!

6 replies

by blaine moore

FTP commands are:

! delete literal prompt send
? debug ls put status
append dir mdelete pwd trace
asciidisconnect mdir quit type
bell get mget quote user
binary glob mkdir recv verbose
bye hash mls remotehelp
cd help mput rename
close lcd open rmdir

In generaly, type 'ftp ', type 'anonymous' as the username, your email address as the password. Use cd to navigatethrough directories, and the get/put commands for transferring files. Here is the command line help file:

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] [host]

-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.

by blaine moore

Sorry, cut and paste, messed the formatting up some. If you can't figure something out, just post a comment or email me.

by peyison

If you have Windows, you should have a program called FTP.EXE already installed.

From the Run command in the Start menu, type FTP and press OK.

To connect to your site type:
open ftp.sitename.com

you will be prompted for your username and password - for anonymous, enter anonymous as the user id and usually your email address as the password.

Press ? [enter] at the prompt to see a list of other commands available.

use disconnect and quit to exit.

Hope this helps.

This discussion is closed to new replies.