home *** CD-ROM | disk | FTP | other *** search
- // Version 3.03 BackGround File Transfer
- // BGFTDZTL.SLT: Telix script for BGFT Zmodem download.
- // Copyright (c) 1990-1994 Dirac Systems
- // Telix is a trademark of Exis Inc.
-
- str command[80]; // Command string for BGFTOPT.
- str temp[80]; // Temporary concatenation string.
-
- main()
- {
- command = "/q"; // Start command line.
- strcat(command," /a"); // Acknowledge any error.
- strcat(command," /r");
- itos(get_port(),temp); // Find out where we are connected.
- strcat(command,temp); // Reconnect existing comm port.
- strcat(command," /b");
- itos(get_baud(),temp); // Find out what is the baud rate.
- strcat(command,temp); // Set baud rate for resident.
- //
- // Zmodem Download
- //
- strcat(command," /~5"); // This protocol is Zmodem dnld.
- strcat(command," /s"); // Start to send file.
- prints(command); // Tell user the command string.
- run("bgftopt.exe",command,2);
- exittelix(0,0); // Leave Telix; don't hangup line.
- } // Now enjoy background Zmodem dnld.
-