* ftp problem
@ 2001-01-04 14:44 francis9
2001-01-04 15:21 ` Roy Omond
2001-01-04 17:16 ` Ivan Reid
0 siblings, 2 replies; 5+ messages in thread
From: francis9 @ 2001-01-04 14:44 UTC (permalink / raw)
We are trying to ftp an ASCII file to an OS390 system. When using a
binary transfer, everything appears to be ok except the control
characters x'0d0a' and x'0c0d' are being dropped. Is there a command in
VMS that will allow for these characters to be sent during the ftp?
Sent via Deja.com
http://www.deja.com/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ftp problem
2001-01-04 14:44 ftp problem francis9
@ 2001-01-04 15:21 ` Roy Omond
2001-01-04 15:50 ` francis9
2001-01-04 17:16 ` Ivan Reid
1 sibling, 1 reply; 5+ messages in thread
From: Roy Omond @ 2001-01-04 15:21 UTC (permalink / raw)
francis9@my-deja.com wrote:
> We are trying to ftp an ASCII file to an OS390 system. When using a
> binary transfer, everything appears to be ok except the control
> characters x'0d0a' and x'0c0d' are being dropped. Is there a command in
> VMS that will allow for these characters to be sent during the ftp?
????? You're trying to FTP an ASCII file ?
So why transfer in binary ?
What's wrong with transferring it in ASCII ?
The world is surely going mad ...
Roy Omond
Blue Bubble Ltd.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ftp problem
2001-01-04 15:21 ` Roy Omond
@ 2001-01-04 15:50 ` francis9
2001-01-05 9:27 ` Ivan Reid
0 siblings, 1 reply; 5+ messages in thread
From: francis9 @ 2001-01-04 15:50 UTC (permalink / raw)
In article <3A5494EC.13BD7BFC@Omond.net>,
Roy Omond <Roy@Omond.net> wrote:
> francis9@my-deja.com wrote:
>
> > We are trying to ftp an ASCII file to an OS390 system. When using a
> > binary transfer, everything appears to be ok except the control
> > characters x'0d0a' and x'0c0d' are being dropped. Is there a
command in
> > VMS that will allow for these characters to be sent during the ftp?
>
> ????? You're trying to FTP an ASCII file ?
> So why transfer in binary ?
>
> What's wrong with transferring it in ASCII ?
>
The OS390 system uses EBCDIC format. The file needs to go through a
conversion program to translate the file to the correct EBCDIC
characters. I tried to send the file in ASCII, but the carriage
controls still dropped.
> The world is surely going mad ...
>
> Roy Omond
> Blue Bubble Ltd.
>
>
Sent via Deja.com
http://www.deja.com/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ftp problem
2001-01-04 14:44 ftp problem francis9
2001-01-04 15:21 ` Roy Omond
@ 2001-01-04 17:16 ` Ivan Reid
1 sibling, 0 replies; 5+ messages in thread
From: Ivan Reid @ 2001-01-04 17:16 UTC (permalink / raw)
On Thu, 04 Jan 2001 14:44:48 GMT, francis9@my-deja.com <francis9@my-deja.com>
wrote in <93228u$ah0$1@nnrp1.deja.com>:
>We are trying to ftp an ASCII file to an OS390 system. When using a
>binary transfer, everything appears to be ok except the control
>characters x'0d0a' and x'0c0d' are being dropped. Is there a command in
>VMS that will allow for these characters to be sent during the ftp?
The "control characters" <CR> and <LF> do not exist in a VMS
ASCII file. From memory you should be getting some overhead, including
record-length counts. If you want VMS ftp to present a file as ASCII
then you must transfer it as ASCII; it's then up to the machine at the
other end to format it however it represents ASCII files.
--
Ivan Reid, Physics & Astronomy, University College London. idr@hep.ucl.ac.uk
KotPT -- "for stupidity above and beyond the call of duty".
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ftp problem
2001-01-04 15:50 ` francis9
@ 2001-01-05 9:27 ` Ivan Reid
0 siblings, 0 replies; 5+ messages in thread
From: Ivan Reid @ 2001-01-05 9:27 UTC (permalink / raw)
On Thu, 04 Jan 2001 15:50:43 GMT, francis9@my-deja.com <francis9@my-deja.com>
wrote in <93264f$e2e$1@nnrp1.deja.com>:
>The OS390 system uses EBCDIC format. The file needs to go through a
>conversion program to translate the file to the correct EBCDIC
>characters. I tried to send the file in ASCII, but the carriage
>controls still dropped.
There's a chance that the IBM ftp receiver is smart enough to
convert data sent as ASCII into EBCDIC as it stores it. It will[1] *never*
translate data sent in binary mode.
[1] should...
--
Ivan Reid, Physics & Astronomy, University College London. idr@hep.ucl.ac.uk
KotPT -- "for stupidity above and beyond the call of duty".
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-01-05 9:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-04 14:44 ftp problem francis9
2001-01-04 15:21 ` Roy Omond
2001-01-04 15:50 ` francis9
2001-01-05 9:27 ` Ivan Reid
2001-01-04 17:16 ` Ivan Reid
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox