From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,90a400e7df957cae,start X-Google-Attributes: gidf7344,public X-Google-Thread: 104e7f,90a400e7df957cae,start X-Google-Attributes: gid104e7f,public X-Google-Thread: 104528,90a400e7df957cae,start X-Google-Attributes: gid104528,public X-Google-Thread: fc7fa,90a400e7df957cae,start X-Google-Attributes: gidfc7fa,public X-Google-Thread: f7785,90a400e7df957cae,start X-Google-Attributes: gidf7785,public X-Google-Thread: 1032b9,90a400e7df957cae,start X-Google-Attributes: gid1032b9,public X-Google-Thread: 10fdbb,90a400e7df957cae,start X-Google-Attributes: gid10fdbb,public From: "Darren W. McKinstry" Subject: HELP** How do I use STRUCT (or STRU) FTP command under VMS (or unix) ????? Date: 1996/11/13 Message-ID: <01bbd176$b3d13900$f8c809c0@darren>#1/1 X-Deja-AN: 196232210 organization: BKS Surveys Ltd., reply-to: msc9520@geovax.ed.ac.uk newsgroups: bit.listserv.vmslsv-l,comp.infosystems.gis,comp.os.vms,comp.sys.vms,relcom.comp.os.vms,tamu.vms.general,utexas.cc.sysmod.vms Greetings, I have a problem ( don't we all ;> ) I regularly need to move binary files from my PC to our DEC-ALPHA. The files in question need to be stored as Record format: Fixed length 64 byte records but when I FTP (mput) them they are stored (on the ALPHA) as: Record format: Variable length, maximum 0 bytes, longest 512 bytes I am thus looking a solution to this problem..... I am guessing that the STRUCT (or STRU) command might be the answer. The only ON-LINE help I have been able to get is 1) PC (remotehelp): 214 Syntax: STRU File | Record 2) ALPHA ? struct set file transfer structure 3) SUN (unix) struct [ struct-name ] Set the file structure to struct-name. The only valid struct-name is file, which corresponds to the default file structure. The implementation only supports file, and requires that it be specified. -------------------------------------------------------- I have tried the following command from my pc after having made an ftp connection to our ALPHA quote STRU fixed | 64 (is this the right command to issue???????) The response to this command is: 200 STRU set to FILE structure. So at least the syntax of this part seems Okay; BUT what next..... If I now use the mput command to push a file to the alpha the file structure remains as before at Record format: Variable length, maximum 0 bytes, longest 512 bytes Any suggestions??????????????????? Please email me at BKS@colerain.dnet.co.uk and I will post a summary. Many Thanks, Cheers, Darren. - BKS - Survey & Data Engineering Solutions *************************************************************************** Darren W. McKinstry M.Sc. B.Sc.(Hons) GIS Analyst. BKS Surveys Ltd., 47 Ballycairn Road, Coleraine, Northern Ireland, BT513HZ. Phone: +44 (0)1265 52311 Fax:+44(0)1265 57637 email: bks@colerain.dnet.co.uk (mark: FAO Darren W. McKinstry) --------------------------------------------------------------------------- "Wisest is he who knows that he does not know" ***************************************************************************