Special

Clearance Sale!

We've been publishing for over five years now and it's time to clear out our inventory of back issues, so we're slashing prices!

RBD Magazines

Check out this amazing clearance sale of all our past issues. Missing some issues? This is a great time to complete your RBD collection. Save up to 40% off the regular price of our printed back issue packages. These prices are only good until the end of the year May 2008 and supplies are limited, so place your order today.

Article Preview


Buy Now

Print:
PDF:

Review

FTP Suite 3.2

Issue: 2.6 (July/August 2004)
Author: Toby Rush
Article Description: No description available.
Article Length (in bytes): 3,698
Starting Page Number: 8
RBD Number: 2603
Resource File(s): None
Related Link(s): None
Known Limitations: None

Full text of article...

Server connections are a pretty simple concept in REALbasic, and REAL Software has been making them easier with every major upgrade. Modern networking protocols, however, can get fairly complex. Itsnot that the concepts are difficult to understand, but handling every little nook and cranny of a given protocol can take quite a bit of time.

One of the notable omissions from REALbasic's server subclasses is an object specifically devoted to FTP. Pyramid Design's FTP Suite fills this voice rather nicely. This set of eight classes gives the REALbasic programmer a fairly comprehensive set of tools for incorporating FTP communication into a project.

FTP Suite is comprised of several dozen methods which can be called from anywhere in your code. These methods are divided into two groups: "FTP Sequences", which comprises entire FTP communication sessions into single commands; and "FTP Commands", which allows the program to communicate with an FTP server one command at a time.

Nearly all the methods take an FTPTransferInfo object as a parameter. This object contains all the information needed to complete the transaction -- server address, file pathname, and so forth. For example, the correct way to download a file using FTP Suite's StartGetFile sequence is as follows:

StartGetFile(myFTPTransferInfo)

where myFTPTransferInfo is an FTPTransferInfo object that has been created and populated with the pertinent information. This seems slightly counterintuitive; one might expect to use this syntax:

myFTPTransferInfo.StartGetFile

This small language nuance aside, the method does the job it's meant to do.

FTP Suite is designed to work with REALbasic 5.0, but includes versions of the classes that work with REALbasic 4.5 and earlier (before the SocketCore class was introduced).

In addition to a full complement of FTP commands, FTP Suite includes a class for providing user-friendly responses triggered by FTP server responses. The classes also come with German and French translations of all error messages (though, as the documentation admits, they are simply Babelfish translations of the English texts).

The FTP Suite package comes with complete documentation and a few demonstration projects. The package comes in the form of a non-standard installer, which simply copies the files to a folder of your choosing.

FTP Suite is available for freeware and shareware programmers for $29.95, and to commercial programmers for $59.95. A demonstration version of the classes, which displays a registration notice at the beginning of any FTP session, is available for download from the Pyramid Design web site.

Aside from a few quirks which are easy to ignore, FTP Suite does an excellent job of providing FTP networking capabilities to any REALbasic project.

IN BRIEF
 
Product
FTP Suite 3.2
 
Manufacturer
Pyramid Design
 
Price
$29.95 (freeware/shareware authors) $59.95 (commercial authors)
 
Contact Info
http://www.pyramiddesign.us/
 
Pros
Provides easy access to FTP communication
 
Cons
A little costly.
 
Rating (1.0-5.0):
4.5

End of article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com