[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference jamin::pathworks32

Title:Digital PATHWORKS 32
Moderator:SPELNK::curless
Created:Fri Nov 01 1996
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:337
Total number of notes:1612

173.0. "File size changed after copy " by NETRIX::"[email protected]" (HKTS) Wed Mar 19 1997 21:50

Hi,

Customer experienced file size changed after a simple drag-and-drop!  
Anyone have any idea ?? Pls help.

Scenerio is:

AlphaStation200 4/166 <---> WFW3.11 PC 
OVMSv6.2 + PWRKv5           PWRKv6.0

Whereas PWRK server stores ASCII files and the PC drag-and-drop into its 
local directory but file size changed to only 1 byte larger than original.
Customer tried drag-and-drop back and forth but sometime files size change
but sometime not.  Strange!

Rgds,
:>
[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
173.1TARKIN::LINBill LinWed Mar 19 1997 23:095
    re: NETRIX::"[email protected]"
    
    Did a CTRL-Z get added to the file as a terminator?
    
    /Bill
173.2file size changes if file format is convertedJAMIN::RUZICHPATHWORKS Client EngineeringThu Mar 20 1997 09:3338
.0>Customer experienced file size changed after a simple drag-and-drop!  
.0>Anyone have any idea ?? Pls help.

.0>Whereas PWRK server stores ASCII files and the PC drag-and-drop into its 
.0>local directory but file size changed to only 1 byte larger than original.

The size of the file is a matter of how the data is stored on disk.
VMS has seven different record formats.

For example, I just created a file like so on VMS:

$ cre varcc.txt
abcd
efg
^Z

Then I copied the file, converting it to other formats, with convert/fdl=xxx. 
Same data, different format on disk.  Here's the result, when you look at it
from DOS on a file share: 

 Volume in drive F is USER2
 Volume Serial Number is 0000-0000

 Directory of F:\TEMP9

03/20/97  09:20a                    11 STM.TXT
03/20/97  09:20a                     9 STMCR.TXT
03/20/97  09:20a                     9 STMLF.TXT
03/20/97  09:19a                    12 VARCC.TXT
               4 File(s)             41 bytes
                          3,052,226,560 bytes free

So, if you drag the file to the PC's hard disk, there may be an implicit
conversion, and the number of bytes changes.  The data is the same, but
carriage control, byte count, pad byte, etc. may be different in the disk
file. 

-Steve