Manipulate file with non-printable characters

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Manipulate file with non-printable characters

    Hi, all.

    I am in need to download a file from an MVS mainframe via FTP, open it,
    replace a few text characters, and put it back on the mainframe.

    The issue is, the file contains non-ASCII characters.

    The method I tried was to use CFFTP binary download option and convert it to
    Base64 on my ColdFusion server (6.1MX).
    I then converted the strings I want to search and replace on the file to
    Base64, and did a find and replace on the converted file.

    Needless to say, it did not work (could not find the strings to replace). Do I
    need to put the base64 converted file into an array, and then do the search and
    replace on all rows? If so, how?

    Thank you for any suggestions.

    Mauricio

    Frustated Guest

  2. Similar Questions and Discussions

    1. Inserting characters into certain position of file
      I'm still having problems with this subject matter. If I have a line that is 600 characters long and I need to replace whatever is in characters...
    2. Characters Forbidden in File Names
      For the purpose of enabling a Perl module, currently in development, to function properly on the most common operating systems, can anyone provide a...
    3. file i/o with german characters
      I'm using the file i/o xtra to import text with German characters. The german characters display as ascii garbage. If I take the same file and copy...
    4. how to read japanese characters (multilingual characters) from a text file and save them in Access database ???
      HI All i m trying to read a text file, having some japanese characters and saved as UTF-8 encoding. I m using ASP,FSO ... my code is below,...
    5. Counting lines/characters in an uploaded .DOC/.RTF file using ASP.NET
      Hi, I've been trying to do line/character counts on documents that are being uploaded. As well as the "counting" I also have to remove certain...
  3. #2

    Default Re: Manipulate file with non-printable characters

    Ignore this message, posted to the wrong forum!!

    Sorry.
    Frustated Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139