Re: FtpWebRequest in 2.0 Framework

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Arne wrote:

> Has anyone tried to download a mainframe file with FtpWebRequest. It
> doesn't seem to translate from EBCDIC to ASCII.
> The old inet control in VB6 has the same problem.
> Command line FTP has no problem to translate from EBCDIC to ASCII,
> but I prefer a .Net assembly.

Why can't you download it as binary and use System.Text.Encoding to
convert from EBCDIC? Windows supports tons of EBCDIC encodings -- see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/un
icode_81rn.asp.


Cheers,
--
http://www.joergjooss.de
mailto:news-reply@xxxxxxxxxxxxx
.



Relevant Pages

  • Re: ASCII to Arabic character conversion
    ... are you wanting to translate it to english? ... Additionally, I don't think its possible to convert it to ASCII, and ... > Audit your website security with Acunetix Web Vulnerability Scanner: ... Cross site scripting and other web attacks before hackers do! ...
    (Pen-Test)
  • Re: DCSS 0.5 questions
    ... There are two versions for download on Sourceforge: ... and ASCII plus Tiles (http://sourceforge.net/projects/crawl-ref/files/ ... You can download the trunk binaries from CDO (http:// ...
    (rec.games.roguelike.misc)
  • Re: FTP cant download in ASCII mode?
    ... Any way to tell IE6 to download a text file in ASCII ... Try using a real FTP client, like SmartFTP or FileZilla, or use the ... A logfile or pane showing the FTP commands and returned status. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: read cobol comp-3 field
    ... I'm real sure there is no good way to translate a comp-3 (packed ... function and looping through the characters, but I wouldn't want to do ... "Ascii function" However, if the file originally came from an IBM ...
    (microsoft.public.sqlserver.programming)
  • Re: DISPLAY format question
    ... Yes the input bytestream was converted from EBCDIC to ASCII as character ... >> the characters that are used to represent a negative sign in EBCDIC!!! ... > that would translate to in ASCII? ...
    (comp.lang.cobol)