O'Reilly logo

A Practical Guide to Linux® Commands, Editors, and Shell Programming, Third Edition by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Examples

Following are two ftp sessions wherein Max transfers files from and to an FTP server named plum. When Max gives the command ftp plum, the local ftp client connects to the server, which asks for a username and a password. Because he is logged in on his local system as max, ftp suggests that he log in on plum as max. To log in as max, Max could just press RETURN. His username on plum is watson, however, so he types watson in response to the Name (plum:max): prompt. Max responds to the Password: prompt with his normal (remote) system password, and the FTP server greets him and informs him that it is Using binary mode to transfer files. With ftp in binary mode, Max can transfer ASCII and binary files.

Connect and log in

$ ftp plumConnected ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required