<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Why do I get a 404 error when I try to download a .tfw file from an Image Service? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/why-do-i-get-a-404-error-when-i-try-to-download-a/m-p/136921#M3531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I used the ArcObjects help example posted here, &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000422000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000422000000&lt;/A&gt;&lt;SPAN&gt;, to try to clip and download a tiff from an Image Service created by publishing a Mosaic Dataset in ArcGis Server.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run the command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IImageServerDownloadResults isDownloadResults = imageServer3.Download(fidSet, clipGeometry, "TIFF");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get two files, a .tif and a .tfw.&amp;nbsp; I then use the imageServer3.GetFile(isDownloadResult); command to get the url and download each file with a C# web client.&amp;nbsp; The .tif downloads without any problem, but when I try to download the .tfw file I get a 404 error.&amp;nbsp; I've also tried pasting the url's for both files into a browser with the same results.&amp;nbsp; The .tfw file is valid, I can navigate to it in windows explorer and look at it.&amp;nbsp; Do I have to set up the Image Service or server in any special way to be able to download the .tfw file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brad Schroeder&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jan 2012 14:27:30 GMT</pubDate>
    <dc:creator>BradSchroeder</dc:creator>
    <dc:date>2012-01-13T14:27:30Z</dc:date>
    <item>
      <title>Why do I get a 404 error when I try to download a .tfw file from an Image Service?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/why-do-i-get-a-404-error-when-i-try-to-download-a/m-p/136921#M3531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I used the ArcObjects help example posted here, &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000422000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000422000000&lt;/A&gt;&lt;SPAN&gt;, to try to clip and download a tiff from an Image Service created by publishing a Mosaic Dataset in ArcGis Server.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run the command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IImageServerDownloadResults isDownloadResults = imageServer3.Download(fidSet, clipGeometry, "TIFF");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get two files, a .tif and a .tfw.&amp;nbsp; I then use the imageServer3.GetFile(isDownloadResult); command to get the url and download each file with a C# web client.&amp;nbsp; The .tif downloads without any problem, but when I try to download the .tfw file I get a 404 error.&amp;nbsp; I've also tried pasting the url's for both files into a browser with the same results.&amp;nbsp; The .tfw file is valid, I can navigate to it in windows explorer and look at it.&amp;nbsp; Do I have to set up the Image Service or server in any special way to be able to download the .tfw file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brad Schroeder&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2012 14:27:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/why-do-i-get-a-404-error-when-i-try-to-download-a/m-p/136921#M3531</guid>
      <dc:creator>BradSchroeder</dc:creator>
      <dc:date>2012-01-13T14:27:30Z</dc:date>
    </item>
  </channel>
</rss>

