Usenet comp.sys.vms (1990-2004)
 help / color / mirror / Atom feed
* HELP** How do I use  STRUCT (or STRU) FTP command under VMS (or unix) ?????
@ 1996-11-13  5:00 Darren W. McKinstry
  0 siblings, 0 replies; only message in thread
From: Darren W. McKinstry @ 1996-11-13  5:00 UTC (permalink / raw)



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 <sp> 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"
***************************************************************************




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-11-13  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-13  5:00 HELP** How do I use STRUCT (or STRU) FTP command under VMS (or unix) ????? Darren W. McKinstry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox