main.c

The standalone applications use this file as the main entry point, but the code resource calls into it. For the code resources, main() is conditionally compiled as DoFTP(). Obviously, as main() no arguments are passed. As DoFTP(), the filename, vRefNum, and dirID are passed.

DoFTP() first loads the preferences resource. This is not a true runtime user preferences record, but contains instead options that the builder of the installer can set without needing to compile the source code. A template exists for the prefs resource to make editing easier.


this file last updated 19Sept96