The FTP-server 4.0 data exange programme FTP-server 4.1 conditions for system, Z-Modem 4.2 to install the FTP-server 4.3 adjustments of Send-Modem 4.4 commands for the super visor 4.5 commands for the guest access 4.6 the three ways to create a dataconnect 4.7 the 'mail'-function 4.0 data exchange programme "FTP Server" We have already mentioned that CoMa can also be used as answering machine if you are in possession of the necessary hardware. In this chapter we would like to introduce you to our Mini-Mailbox, the FTP-Server. With this programme you are able to have access to your computer while you are away at work a.s.o., you can add and read data. Of course, this idea is not new anymore, but it is new that this possibility is offered from one programme only. Which means CoMa carries its name "Communication Manager" rightfully. You can log onto your computer with the FTP Server via a super code and have access to all your data. You can create a special folder with access for guests and friends as well. 4.1 Conditions for system, Z-Modem (GSZRZ from V3.8) In order for the programme to function you will need an ATARI with at least 1 MB central memory and a harddisk. You will further need a Z-Modem programm installed as ACC for the data-exchange to be automatic. CoMa is equipped to the Z-Modem (from version 3.8) by Michael Ziegler, Jagdfeldring 16, D-85540 Haar (germany). The programme is called GSZRZ and is sold as shareware. It is possible to extract the programme from most german mailboxes. The function of the shareware version is limited. Against payment of 30 german mark (cash in a letter) it is possible to receive the full version of GSZRZ directly from the producer. It is also possible to take any other Z-Modem protocol that works as an ACC! 4.2 To install the FTP-Server First step is to copy the programme GSZRZ-xx.PRG to the boot drive. Now you can make up your mind wether you want to use it as programme or as ACC. If you use it as ACC the name must be:GSZRZ-ST.ACC, GSZRZ-30.ACC or GSZRZ-SW.ACC. The Z-Modem programme for the automatic data exchange is then ready for use after re-starting the computer. If you doen't want to have this programme to be always present in the memory of your computer it can also work as a programme that CoMa will start everytime you have a data-connect. For this use you have to set the path in the dialogbox for FTP-parameter. This and some other adjustments have to be made for CoMa now. Call up the main window of CoMa and click the button "parameter". Change into parameter "FTP" now. In the field FTP server the button "Try Data Connect" has to be activated. This button switches the mini-mailbox on and off. Select a super password which should preferable not be easy to break into. Bear in mind that otherwise everybody would have access to your data. We have designated the password "Gast" for the special folder for guests. Because this password is quite usual for guest access we think you should not change it. If you want only a certain amount of friends to be able to have access to the guest folder it is possible to use a different password. In this case no reference after login to the FTP-server is made about guest access. Furthermore you can give access to a special further folder for a different client. For this you have to add a password in "friends" and enter the necessary path. You have to enter the path for guest access in the paths "Upload" and "Download". The last three lines are reserved for the Z-Modem parameters. GSZRZ if not ACC Here you set the path for the Z-Modem programme if you use it as a programme and not as a ACC! send This is for the command line parameter to call up the Z-Modem from M. Ziegler if CoMa has to send a file! receive Here you see the command line parameter to call up Z-Modem to receive a file. If you have a different Z-Modem programme and you know the necessary parameter to call it up for send and receive you can also take this programme for cooperate with CoMa. 4.3 adjustments of Send-Modem You have to make an adjustment for the sending modem in order to be able to exchange data. Before you are able to exchange date you have to wait for the answering machine to recognise the data-calling-tone and therefore the time entered to recognise the carrier tone is insufficient in most cases. Normally the modem announces already after 30 to 60 seconds "no carrier" and hangs up. If one calculates the time necessary to negotiate the transferrate, the starting of the computer and the announcement of the answering machine one finds that 60 seconds are the absolute minimum. We therefore recommend to adjust the time for "Wait for Carrier Detect" to 100 seconds. There should not be any problems with that. According to the Standard Hayes-order the register to adjust this time is at S7. Please read in your Modem handbook if the register S7 is reset firm. You can then determine the register for good at 100 seconds. It would be best to enter a terminal Programme like Rufus or Connect and send following command ATS7=100 return key AT&W return key AT&V return key After entering the first two commands the Modem will prompt "ok" on the monitor. After the last command the total configuration has to be prompted back by the modem. It is only interesting for us that in "active profile" the register S7 is entered with 100. In some types of modem the old value will be reset after switch off. S7 is then again set at 30 or 60 seconds. You will have to reset the register in the mail-box before each new login at 100 seconds. You should include this adjustment in your dialstring, for example ats7=100d0049306226884 4.4 Commands for the super visor There are more commands available for you than for the guest. The access for the guest is limited to one folder but you have access to all folders and data. command overview X: change of partion (change of drive) cd 'name of path' switch to different folder calls display of new entries in the 'calls' list delete delete of data cp copy of file rename rename a file You also have the commands available described in the next chapter. 4.5 commands for the guest access The guest has only got access to one folder for "upload" or "download". You can 'branch' other folders into this folder, ie you can create sub-folders. The guest can not leave the folder "Guest" though. You can adjust the path for this in the parameter adjustment for experts. He then can use the following commands: Is or dir shows the contens of the download folder show "dateiname" shows ASCII-file, name of file is according to the name of the displayed file mail opens the text editor for short messages. get 'datainame' starts downloading of file with the title 'dateiname' (file name) via the Z-Modem You can use the usual Wildcards for this. The name of the file can be abbreviated with *. If the command get*.* is entered all the data in this folder will be transferred! If you want to send a file with the Z-Modem CoMa will recognise this automatically. help or ? delivers an overview of all possible commands of this mini-mailbox. exit this command ends the excursion in the FTP-server You should always leave the mailbox with this command, CoMa can only recognise then that the data exchange is finished and that the modem can hang up. If the caller hangs up only without using the command exit the telepphone line remains engaged till the modem disconnects the connection after recognising the missing carrier-tone. In the meantime other callers will get the engaged sign. 4.6 The three ways to create a dataconnect 1. You call with a modem your mailbox and receive first the answering text of the answer machine. After that CoMa records for 7 seconds. If during this time no sound is recognised CoMa will try to create a dataconnect. It is essential for this that your sending modem has been configurated accroding to chapter 4.3. Otherwise the calling Modem will hang up while the answering text is still replayed with the error message "NO CARRIER". 2. You are ringing your mailbox from a telephone and send the figure 9 when you hear the answering text accroding to the multitone system. CoMa will disconnect the replay and will try to create a dataconnect. You will quickly have to transfer the connection to the modem after you pressed 9. This will be the way You have to take if your modem does not send a data-calling-tone! 3. Most usual modem types (amongst others all modems with a BZT Admission) send the Data-Calling-Tone during a data call. If your modem evaluates this tone and transfers to CoMa the answering will be disconnected and the programme tries at once to create a dataconnect. This evaluation functions with Zyxel Modem only from firmware 6.11. The transfer to the data module in the firmware 1.4 functions not at all in the Creatix LC144VF. The firmware 1.5 does not contains this error any more (available since June 1994). Finally some incompatibilities of the FTP-server, due to certain hardware of certain modems. If you call with a modem that does not send the data-calling-tone and your receivermodem does not evaluate this no dataconnect can be made. CoMa would recognise the tone as a normal call. In this case only the example in 2. can help, or you have to buy a new modem! 4.7 the 'mail'-funktion If a caller wants to send a direct message to the supervisor he can use the function 'mail'. He gets the build in text editor and this message gets stored at once. The super visor can see in the window 'calls' that there is a message for him. With a double-click on this entry he gets this message displayed. By the way, it is possible to send a short message to somebody who has just connected to the FTP-server in case to help him to use the FTP-server. The super visor has only to type in the text and the guest can read his message.