[comp.os.msdos.programmer] New FTP'er question.

aesch@cellar.UUCP (David Sklar) (01/20/91)

I tried to download a file from cica.cica.indiana.edu using anonymous FTP. I 
used the FTP command to transfer it to the mainframe I was hooked into (via a 
dialup line) and then kermit to tranferit from the mainframe (an IBM 4381) to 
my computer (a 386SX running MSDOS). However, when I unzipped this file with 
PKzip 1.02, It would not work. I tried reconstructing the zipfile with 
"pkzipfix" but that yielded no improvement. I'm probably overlooking 
something very simple, but It would be great if someone could tell me what it 
was.

        Thanks!


         David Sklar                 |
v5446e@vm.temple.edu                 |"That says it all to me! I can fight
aesch@cellar.UUCP                    | or I can just lay around!" - Robin
--------------------------------------                          Williams
        I can wiggle my ears.

dcc@hpopd.pwd.hp.com (Daniel Creswell) (01/22/91)

Well did you set ftp for binary mode?
Just type 'binary' at the prompt and transfers will then be done in binary.
If you leave ftp in text mode the text is subject to conversions e.g. cr becomeslf and such like (that would be PC -> Unix).
Hash is also quite useful for watching progress.
If you did all this I see no reason why your program shouldn't work unless
it's corrupted in its original form!

Regards, Dan C. :-)