Re: reliable ftp?
- From: Alan Yeo <alanyeo@xxxxxxxxxxxx>
- Date: Thu, 13 Nov 2008 19:43:52 +0000
In article <004f01c9450a$49bbe550$090101c0@PCC>, "Dave Powell, MMfab" <dave@xxxxxxxxx> writes
Before we get stuck to a tarball (yes, I've been reading the other replies),
maybe we should look away from compression & packaging and check the file
structure and original cause of the "garble".
What kind(s) of file are you moving in which direction? How many at a time?
Moving just one file at a time, I've had good luck just fiddling with FTP
parameters. Ascii / binary transfer, creative buildparms, etc.
For instance, to have the HP get native-mode programs downloaded from the old
Telamon site, I used binary transfer with the the following buildparms:
'rec=128,1,f,binary;disc=<calculated-number>;code=NMPRG'
The "calculated number" is the number of bytes in the file on the PC, divided
by 256.
I *think* almost any single file should be doable with some such trick.
To back up Dave's comments, I normally find that FTP to and from the 3K normally works fine for virtually any type of file and we do a lot of it from lots of different platforms.
The important thing on getting files is to decide between Text(ASCII) or Binary. Binary is nearly always what you want as you don't get any clever ftp software doing characterset translation for you. Yes you can binary transfer ascii files.
If your putting files to the 3K then getting the parameters as Dave indicates is important, the standard defaults are nearly never what you want :-)
An example of what you are trying to do would be useful. i.e. do a listf,2 on a file that you would like to get from and then put back to the 3K.
A couple of useful utilities on the 3K are tobyte.hpbin.sys and frombyte.hpbin.sys. They will either convert a file to bytestream or backfrom bytestream.
--
Alan Yeo
ALANYEO@xxxxxxxxxxxx Just because you're paranoid
Phone +44 1684 291710 it doesn't mean someone isn't!.
Fax +44 1684 291712
.
- References:
- reliable ftp?
- From: michael
- Re: reliable ftp?
- From: Dave Powell, MMfab
- reliable ftp?
- Prev by Date: Re: Spare HP3000s
- Next by Date: OT: HP Offers "Near-Shore" software development
- Previous by thread: Re: reliable ftp?
- Next by thread: Re: OT: PCL for multi-tray printers connected to HP3000
- Index(es):
Relevant Pages
|