<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Verdana; font-size: 10pt; color: #000000'>why don't you try a "file get"<span> and send it to an SFTP server somewhere?<br><br><span name="x"></span>---<br>Lelio Fulgenzi, B.A.<br>Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1<br>(519) 824-4120 x56354 (519) 767-1060 FAX (ANNU)<br>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>Cooking with unix is easy. You just sed it and forget it. <br>                              - LFJ (with apologies to Mr. Popeil)<br><span name="x"></span><br></span><br><hr id="zwchr"><b>From: </b>"Jason Aarons (AM)" <jason.aarons@dimensiondata.com><br><b>To: </b>"Lelio Fulgenzi" <lelio@uoguelph.ca><br><b>Cc: </b>"cisco-voip (cisco-voip@puck.nether.net)" <cisco-voip@puck.nether.net><br><b>Sent: </b>Wednesday, June 6, 2012 3:43:33 PM<br><b>Subject: </b>RE: [cisco-voip] SSH to CallManager 7x get bad output<br><br><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal"><span style="color:#1F497D">I wonder if it was a bug in my CCM 7.1.3</span></p><p class="MsoNormal"><span style="color:#1F497D"> </span></p><p class="MsoNormal"><span style="color:#1F497D">I get odd char in front of “ with both Putty/SecureCRT.</span></p><p class="MsoNormal"><span style="color:#1F497D"> </span></p><p class="MsoNormal"><span style="color:#1F497D">PS Thanks for sharing your output.  I just have to remember to cleanup any screen scrapes on List.xml before editing/uploading.</span></p><p class="MsoNormal"><span style="color:#1F497D"> </span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Lelio Fulgenzi [mailto:lelio@uoguelph.ca] <br><b>Sent:</b> Wednesday, June 06, 2012 3:33 PM<br><b>To:</b> Jason Aarons (AM)<br><b>Cc:</b> cisco-voip (cisco-voip@puck.nether.net)<br><b>Subject:</b> Re: [cisco-voip] SSH to CallManager 7x get bad output</span></p></div></div><p class="MsoNormal"> </p><p class="MsoNormal" style="margin-bottom:12.0pt"> </p><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:black">using putty, it works fine for me:<br><br>=====<br>admin:file view tftp Desktops/640x480x24/List.xml<br><br><CiscoIPPhoneImageList><br><!-- Please Add Images to the end of the list--><br><ImageItem Image="TFTP:Desktops/640x480x24/Kubrick_dark_2_thumb.png" URL="TFTP:Desktops/640x480x24/Kubrick_dark_2.png"/><br><ImageItem Image="TFTP:Desktops/640x480x24/Kubrick_light_2_thumb.png" URL="TFTP:Desktops/640x480x24/Kubrick_light_2.png"/><br><ImageItem Image="TFTP:Desktops/640x480x24/green_9836_thumb.png" URL="TFTP:Desktops/640x480x24/green_9836.png"/><br><ImageItem Image="TFTP:Desktops/640x480x24/green_stem_6254_thumb.png" URL="TFTP:Desktops/640x480x24/green_stem_6254.png"/><br><ImageItem Image="TFTP:Desktops/640x480x24/green_9802_thumb.png" URL="TFTP:Desktops/640x480x24/green_9802.png"/><br><ImageItem Image="TFTP:Desktops/640x480x24/yellow_6744_thumb.png" URL="TFTP:Desktops/640x480x24/yellow_6744.png"/><br><ImageItem Image="TFTP:Desktops/640x480x24/lights_8454_thumb.png" URL="TFTP:Desktops/640x480x24/lights_8454.png"/><br><ImageItem Image="TFTP:Desktops/640x480x24/lights_8787_thumb.png" URL="TFTP:Desktops/640x480x24/lights_8787.png"/><br><ImageItem Image="TFTP:Desktops/640x480x24/lights_8660_optn_thumb.png" URL="TFTP:Desktops/640x480x24/lights_8660_optn.png"/><br><ImageItem Image="TFTP:Desktops/640x480x24/lights_8839_thumb.png" URL="TFTP:Desktops/640x480x24/lights_8839.png"/><br><ImageItem Image="TFTP:Desktops/640x480x24/red_0328_thumb.png" URL="TFTP:Desktops/640x480x24/red_0328.png"/><br><ImageItem Image="TFTP:Desktops/640x480x24/yellow_0379_thumb.png" URL="TFTP:Desktops/640x480x24/yellow_0379_UI.png"/><br><ImageItem Image="TFTP:Desktops/640x480x24/red_6052_thumb.png" URL="TFTP:Desktops/640x480x24/red_6052.png"/><br><ImageItem Image="TFTP:Desktops/640x480x24/purple_5887_thumb.png" URL="TFTP:Desktops/640x480x24/purple_5887_UI.png"/><br></CiscoIPPhoneImageList><br><br>end of the file reached<br>options: q=quit, n=next, p=prev, b=begin, e=end (lines 1 - 17 of 17) :<br>admin:<br><br>admin:show version active<br>Active Master Version: 7.1.5.32900-2<br><br>=====<br><br>---<br>Lelio Fulgenzi, B.A.<br>Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1<br>(519) 824-4120 x56354 (519) 767-1060 FAX (ANNU)<br>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>Cooking with unix is easy. You just sed it and forget it. <br>                              - LFJ (with apologies to Mr. Popeil)<br><br></span></p><div class="MsoNormal" style="text-align:center" align="center"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:black"><hr id="zwchr" align="center" size="2" width="100%"></span></div><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:black">From: </span></b><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:black">"Jason Aarons (AM)" <jason.aarons@dimensiondata.com><br><b>To: </b>"cisco-voip (cisco-voip@puck.nether.net)" <cisco-voip@puck.nether.net><br><b>Sent: </b>Wednesday, June 6, 2012 3:04:01 PM<br><b>Subject: </b>[cisco-voip] SSH to CallManager 7x get bad output<br><br><br></span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:black"></span></p><p class="MsoNormal"><span style="color:black">Am I doing something wrong here with file view command? </span></p><p class="MsoNormal"><span style="color:black"> </span></p><p class="MsoNormal"><span style="color:black">I ssh to CallManager 7.1.3 and issue a file view and some characters are garbage?  I’ve tried different things with no luck. Using SecureCRT 6.7.5.</span></p><p class="MsoNormal"><span style="color:black"> </span></p><p class="MsoNormal"><span style="color:black">Bad</span></p><p class="MsoNormal"><span style="color:black">admin:file view tftp Desktops/320x212x16/List.xml</span></p><p class="MsoNormal"><span style="color:black"> </span></p><p class="MsoNormal"><span style="color:black"><CiscoIPPhoneImageList></span></p><p class="MsoNormal"><span style="color:black"><ImageItem Image=”TFTP:Desktops/320x212x12/CorpLogo-TN.PNG” URL=”TFTP:Desktops/320x212x12/CorpLogo.PNG”/></span></p><p class="MsoNormal"><span style="color:black"></CiscoIPPhoneImageList></span></p><p class="MsoNormal"><span style="color:black"> </span></p><p class="MsoNormal"><span style="color:black">end of the file reached</span></p><p class="MsoNormal"><span style="color:black">options: q=quit, n=next, p=prev, b=begin, e=end (lines 1 - 3 of 3) :</span></p><p class="MsoNormal"><span style="color:black">admin:show version active</span></p><p class="MsoNormal"><span style="color:black">Active Master Version: 7.1.3.10000-11</span></p><p class="MsoNormal"><span style="color:black"> </span></p><p class="MsoNormal"><span style="color:black">Active Version Installed Software Options: </span></p><p class="MsoNormal"><span style="color:black">cmterm-7945_7965-sccp.8-3-3.cop</span></p><p class="MsoNormal"><span style="color:black">admin:</span></p><p class="MsoNormal"><span style="color:black"> </span></p><p class="MsoNormal"><span style="color:black"> </span></p><p class="MsoNormal"><span style="color:black"> </span></p><p class="MsoNormal"><span style="color:black"> </span></p><p class="MsoNormal"><span style="color:black">Below is the correct version of List.xml; note the above has extra Â characters before the quotes. If you run a diff of above and below you see what I mean;</span></p><p class="MsoNormal"><span style="color:black"> </span></p><p class="MsoNormal"><span style="color:black"><CiscoIPPhoneImageList></span></p><p class="MsoNormal"><span style="color:black"><ImageItem Image=”TFTP:Desktops/320x212x16/CCIE-Backgroup-TN.PNG” </span></p><p class="MsoNormal"><span style="color:black">URL=”TFTP:Desktops/320x212x16/CCIE-Backgroup.PNG”/></span></p><p class="MsoNormal"><span style="color:black"></CiscoIPPhoneImageList></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:black"><br>_______________________________________________<br>cisco-voip mailing list<br><a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br><a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a></span></p></div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><br><br><span style="color:white">itevomcid</span> </span></p></div></div></body></html>