Sharing Files on the Internet with ftp

Sharing files on the Internet with ftp is similar to getting files; instead of retrieving files, however, you give files to other people (Code Listing 12.3).

To share files on the internet with ftp:

1.
ftp ftp.raycomm.com Open the FTP connection as shown in the previous section.
2.
youruserid Log in with your userid.
3.
password Enter your password.
4.
cd incoming Use standard Unix directory commands (ls, cd, and so on) to move into the directory into which you want to put the files (Code Listing 12.3). incoming is often the right directory name to use, particularly on public FTP servers.
5.
binary Set the file type. You’ll want to use the binary file type for any files other than text or HTML files; ...

Get Unix Third Edition: Visual Quickstart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.