From: speck@stsci.edu
Subject: FTP problem from VAX to SPARC...
Date: 1996/05/29 [thread overview]
Message-ID: <1996May29.132154@stsci.edu> (raw)
I am having the following problem, trying to FTP a file from a VAX machine
to a SUN/SOLARIS machine.
The file is named: gsrs04973.bak
This file shows up as being 24 blocks long on the VAX. Performing a
DIRECTORY/FULL on the file yields:
GSRS04973.BAK;1 File ID: (44411,26,0)
Size: 24/27 Owner: [SPECK]
Created: 28-MAY-1996 09:58:57.28
Revised: 28-MAY-1996 09:58:57.43 (1)
Expires: <None specified>
Backup: <No backup recorded>
Effective: <None specified>
Recording: <None specified>
File organization: Sequential
Shelved state: Online
File attributes: Allocation: 27, Extend: 0, Global buffer count: 0
No version limit, Contiguous best try
Record format: Variable length, maximum 512 bytes
Record attributes: None
RMS attributes: None
Journaling enabled: None
File protection: System:RWE, Owner:RWED, Group:RE, World:E
Access Cntrl List: None
The name of the SUN to which I am trying to perform the FTP is "anakin".
From the VAX, I perform "ftp anakin". I then log in to anakin.
Next, to transfer the file as a binary file, I issue the command "binary".
Next, I perform "put gsrs04973.bak". Following the file transfer, I
perform an rlogin on anakin and check the size of the file "gsrs04973.bak",
which I have just transfered to the UNIX disk from the VAX disk. I find
that the file is 24 bytes SHORTER on the UNIX disk than it was on the VAX
disk. Note that, on the VAX, the file was 24 BLOCKS long. Thus, it appears
that one byte-per-block is being lost in the VAX -> UNIX transfer. When
I type the file on the VAX, I find that the file consists of 24 records, each
consisting of 512 bytes, and each ending with a carrige-return character.
When I cat the file on ANAKIN, I find that these carriage-returns are MISSING.
Do you know how I can properly transfer the entire file from VAX
to UNIX? Keep in mind that I must keep the carriage returns in the file.
The program which reads the file requires the presence of the carriage
returns.
Thanks for any help,
Scott
next reply other threads:[~1996-05-29 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-29 4:00 speck [this message]
1996-05-29 4:00 ` FTP problem from VAX to SPARC Aaron Leonard
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox