Re: FTP GET from MVS, using Win2000 server
From: Alun Jones [MSFT] (alunj_at_online.microsoft.com)
Date: 06/25/04
- Next message: mike_ca: "Re: 2 windows ftp accounts defaulting to same folder when either o"
- Previous message: SonOfMog: "FTP GET from MVS, using Win2000 server"
- In reply to: SonOfMog: "FTP GET from MVS, using Win2000 server"
- Next in thread: SonOfMog: "Re: FTP GET from MVS, using Win2000 server"
- Reply: SonOfMog: "Re: FTP GET from MVS, using Win2000 server"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 25 Jun 2004 13:38:58 -0700
"SonOfMog" <sonofmog@hotmail.com> wrote in message
news:36d4d553.0406251215.24c050e4@posting.google.com...
> I want to perform a get from MVS.
> The FTP server is Win2000 server.
> The files are ascii text and need to be converted into ebcdic.
> The option 'ASCII' in ftp works, but the resulting file contains invalid
> characters. Also, every character is preceeded by a blank.
That sounds more like your file is in Unicode text, not ASCII text.
For instance, a hex dump of the first few bytes of a big-endian Unicode text
file containing the word "flugelhorn" is as follows:
13EA:0100 FE FF 00 66 00 6C 00 75-00 67 00 65 00 6C 00 68
...f.l.u.g.e.l.h
And here's the same file, saved as little-endian Unicode:
13EA:0100 FF FE 66 00 6C 00 75 00-67 00 65 00 6C 00 68 00
..f.l.u.g.e.l.h.
For variety, here's what happens when I save it as UTF-8:
13EA:0100 EF BB BF 66 6C 75 67 65-6C 68 6F 72 6E ...flugelhorn
And now, as ANSI:
13EA:0100 66 6C 75 67 65 6C 68 6F-72 6E flugelhorn
> Someone have an idea how to set a correct transfer?
> I know that a PUT from Windows works fine, but I do want to perform a get
from MVS.
First, verify that the file you are trying to retrieve is purely ASCII.
Do you have a hex editor or some other tool you could use on the Windows
machine to look at the contents of the original file?
Alun.
~~~~
- Next message: mike_ca: "Re: 2 windows ftp accounts defaulting to same folder when either o"
- Previous message: SonOfMog: "FTP GET from MVS, using Win2000 server"
- In reply to: SonOfMog: "FTP GET from MVS, using Win2000 server"
- Next in thread: SonOfMog: "Re: FTP GET from MVS, using Win2000 server"
- Reply: SonOfMog: "Re: FTP GET from MVS, using Win2000 server"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|