Skip to Content
Palm OS Network Programming
book

Palm OS Network Programming

by Greg Winton
September 2001
Intermediate to advanced
400 pages
11h 23m
English
O'Reilly Media, Inc.
Content preview from Palm OS Network Programming

Designing FtpView

FtpView is a limited FTP client application created in this book, which provides only enough functionality to demonstrate the usage of TCP sockets. We demonstrate establishing and accepting connections and exchanging data over these connections. FtpView illustrates these techniques by supporting login to an FTP server, listing the server’s current directory, and logging out from the server.

Functional Analysis

FtpView provides moderate, read-only access to FTP servers. We develop this application in Chapter 6 through Chapter 12. When complete, FtpView will allow the user to log in to and out from the FTP server, and retrieve the listing of files in the server’s root directory. Figure 3-1 shows the application flow for FtpView.

FtpView application flow

Figure 3-1. FtpView application flow

When the user starts the application, the only available option is to begin an FTP session. Once the session has begun, the user can list the server directory contents or log out. The user can list the server directory as often as they like during the session, but when the user logs out from the FTP server, the session is ended and she is back where she started. The user must begin a new session by logging in to an FTP server again before she can list the server files or log out again. We will examine in turn each of the following FTP operations: login, list, and logout.

Login

The user starts an FTP session ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Palm OS Programming, 2nd Edition

Palm OS Programming, 2nd Edition

Julie McKeehan, Neil Rhodes
Leo Laporte’s Guide to Safe Computing

Leo Laporte’s Guide to Safe Computing

Leo Laporte, Mark Edward Soper, Andy Walker
Office 2003 XML

Office 2003 XML

Simon St. Laurent, Mary McRae, Evan Lenz

Publisher Resources

ISBN: 0596000057Catalog PageErrata