Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!austing From: austing@Apple.COM (Glenn L. Austin) Newsgroups: comp.sys.mac.programmer Subject: Re: Communications Toolbox questions Message-ID: <37000@apple.Apple.COM> Date: 5 Dec 89 02:08:08 GMT References: <9125@hoptoad.uucp> <36869@apple.Apple.COM> Organization: Apple Computer Inc, Cupertino, CA Lines: 27 In article time@oxtrap.UUCP writes: > >Re: Selecting the transfer mode (i.e. TEXT MacBinary etc.)... > >I have a program which uploads automatically, sometimes without user >interaction. I do not even use SFGetFile() to obtain the SFReply, I >fill it in. If I had to interact every time or select mode via dialogs >every time, I could not do what I wanted. > >Not every use of the CTB is a terminal emulator or BBS program. I agree 100%. A scripting language also has the same "feature", in other words, you can specify a file name for the file before the transfer starts. All that you need to know about a tool is the format and content of the configuration string, which is pretty simple -- parameter and value, separated by a space, and all parameter-value pairs are separated with a space - pretty easy, huh? Oh, you don't even have to specify all of the parameters and values, only the parameter and value you are interested in changing! -- ----------------------------------------------------------------------------- | Glenn L. Austin | "Have you ever danced with the devil in | | Communications Toolbox Hacker | in the pale moonlight?" -The Joker | | Apple Computer, Inc. | "You made me!" -Batman | | Internet: austing@apple.com | | ----------------------------------------------------------------------------- | All opinions stated above are mine -- who else would want them? | -----------------------------------------------------------------------------