Using the %servertype Variable |
Top Previous Next |
The %servertype variable is initialized to a numeric value representing the type of server that Robo-FTP automatically detects after logging on.
The following server types may be set in this variable.
The examples of directory listings from each server type are shown below. Robo-FTP parses the directory listing from the server looking for identifying characteristics of each in order to automatically select the server type.
STD_UNIX_FORMAT -rw-r--r-- 1 1191 bin xxxxxxxxx May 9 1996 tampa.jpg LONG_DOS_FORMAT TAMPA JPG 27,686 11-17-99 7:04p tampa.jpg STD_DOS_FORMAT TAMPA JPG 27,686 11-17-99 7:04p STD_NT_FORMAT 12/05/99 08:52p <DIR> xxx,xxx,xxx TAMPA.JPG 12-05-99 08:52p <DIR> xxx,xxx,xxx TAMPA.JPG STD_NOVELL_FORMAT d [R----F--] supervisor 512 May 09 17:00 login - [RWCE-FM-] harlepk.ou=memits 1191 May 09 13:48 tampa.jpg - [RWCE-FM-] harlepk.ou=memits 1191 May 09 1999 oldtampa.jpg HUMMINGBIRD_FORMAT -rw-r--r-- 1 1191 xxxxxxxxx May 9 1996 tampa.jpg MVS_HOST1 Volume Unit Referred Ext Used Recfm Lrecl BlkSz Dsorg Dsname SMP351 3390 2000/03/06 1 15 FB 80 6160 PS CV2.DOC Migrated EHYOUT.LIST3820 ARCIVE Not Direct Access Device BS.BLM.W2.TEST.A122700 PPSP03 3390 **NONE** 1 75 FB 153 27846 PS BS.BLM.W2.VENDOR GDG BS.EFF.COSTFILE OPEN_VMS BACKUP.LOG;3 1304/1304 26-JUL-2000 08:14:13 [PW] (RWED,RWED,RE,) REALLYREALLYBIFBACKUP.LOG;3 1304/1304 26-JUL-2000 08:14:13 [PW] (RWED,RWED,RE,) AS400 24576 07.12.94 10:55:06 *DIR QOpenSys/ QDOC 17408 01.01.70 00:00:00 *FLR QDLS/ QSYS 0 31.05.05 21:36:39 *LIB QSYS.LIB/ 28672 03.02.95 11:05:10 *DIR tmp/ QSYS 27648 06.11.99 20:04:06 *DIR QPWXCRB/ TTS 49152 01-08-27 10:19:23 *FILE ANRA045200 TTS *MEM ANRA045200.TXT ZOPE_FORMAT -rw-rw---- 1 administrator Zope 770 Nov 5 05:20 VirHost.AccessRule TANDEM File Code EOF Last Modification Owner RWEP BUFT0004 101 2746 5-Oct-01 15:19:26 230, 6 "ncnc" IBM_4690 0 DIR 10-21-2002 08:37 JAVA 8192 A 10-21-2002 09:48 DDACMOS.OL2 WAC_SSH_FORMAT 2003-03-17 19:32 <DIR> Documents and Settings 2003-03-23 09:18 4,644 ffastun.ffa VERIZON_SWITCH File Name Type Start Size ---------------------------------------------- NETEDIT.LO CON F28E0 3FB BACKRTTK.CF SEQ 7E0 7E0 JES_QUEUE JOBNAME JOBID OWNER STATUS CLASS BLMLSR2Q JOB30666 BLMLSR2 OUTPUT A RC=000 7 spool files BLMLSR2Q JOB30245 BLMLSR2 OUTPUT A RC=000 7 spool files WIN_SSH 0 Nov 05, 2003 13:32 ./ 0 Nov 05, 2003 13:32 ../ 1321 Nov 05, 2003 13:31 CVRO_20031105_133126843.XML 3892 Oct 31, 2003 18:20 CVRO_One.XML 1281 Oct 31, 2003 19:56 CVRO_Two.XML GXS_VAN Sender ILOG IC Control# Sent (EST) Mfile 01:011586336 10061575472 000004848 06OCT04|11:45 MA600002 TANDEM_UNIX Type Doc Control # Sender ID Size Date/Time Message ID UNB INVOIC 116 5013546131690 489 1224/1007 INS+LTD.1NYP.1 UNB INVOIC 117 5013546131690 489 1224/1022 INS+LTD.1NZR.1 REFLECTION a---lgpd 02/08/105 9:08 31198 glxd112671 ----lgpds 02/04/105 14:35 <DIR> ipfe procedures USBANK -ART------TCP A ceoutb 14922 134804100 Feb 14 20:03 USR021405.zip -ART------TCP A ceoutb 64904 143350500 Feb 15 20:03 USR021505.zip Total number of batches listed: 5 DEC_VMS DISK$PUBLIC:[PUBLIC] CRYPTO.DIR;1 %%RMS-E-PRV, insufficient privilege or file violation DEC_DOCUMENTATION.DIR;1 177 7-APR-2003 17:30 [SYSTEM] (RWED,RWED,R,R) FREECIV.DIR;1 1 28-JUL-2000 15:26 [SYSTEM] (RWED,RWED,R,R) INDEX.HTML;1 3 7-FEB-2005 08:57 [SYSTEM] (RWED,RWED,R,R) Total of 205 blocks in 10 files. ANX_FTP_MAILBOX Type Size Time Stamp File/Directory Name ----------------------------------------------------------------------- File 30334046 Jul 6 13:21:05 2005 DCXNVDR.A28974 File 146 Jul 7 14:07:44 2005 .sh_history File 30334046 Jul 7 13:49:07 2005 DCXNVDR.A06782 NLST_FORMAT tampa.jpg oldtampa.jpg MEDITECH Contents of: 5 files/subdirectories Name Date/Time Bytes Params Desc
dr-x .SPOOL 95/03/07 15:26:59 n/a Utility Reports -rw- 000000CC.TXT 06/09/19 13:42:11 1618 -rw- 060918RX.TXT 06/09/19 08:52:17 344566 -rw- GF FILE1234 06/09/19 10:00:09 871 -rw- RXFILE.TXT 06/09/19 13:48:09 202 ORACLE_FORMAT drw-r--r-- 2 SYS oracle 0 MAR 08 11:54 sys -rw-r--r-- 1 SYS oracle 0 MAR 08 11:56 xdbconfig.xml GLUB_TECH Tracking ID Filename Size Document Type E331060187 M3611100 493 856 E331060188 M3611101 493 856 MLSD_FORMAT size=0;type=cdir;perm=fdelcmp;create=20070808180513;modify=20070808180618; . size=0;type=pdir;perm=fdelcmp;create=20070808180513;modify=20070808180618; .. size=0;type=dir;perm=fdelcmp;create=20070808180607;modify=20070808180607; folder1 size=0;type=file;perm=fdrwa;create=20070808180546;modify=20070808180546; testfile1.txt WACHOVIA -C--------FTS B 238333 16722 15 Aug 24 20:32 test 1.txt Total number of batches listed: 1
See Also: Internal Script Variables |