<?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 Passing file from geoprocessing script to geoprocessing service in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/passing-file-from-geoprocessing-script-to/m-p/683877#M52930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a serverside python based geoprocessing service that takes a file as its one input parameter.&amp;nbsp; How can I call this service from a python based geoprocesing script running on the desktop?&amp;nbsp; What type of argument should I pass?&amp;nbsp; How should I read that argument on the server side?&amp;nbsp; The file is a binary file (think jpg or zip) not a text file and the server does not have access to the desktop except via service calls.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jul 2011 23:30:31 GMT</pubDate>
    <dc:creator>MichaelPorter1</dc:creator>
    <dc:date>2011-07-15T23:30:31Z</dc:date>
    <item>
      <title>Passing file from geoprocessing script to geoprocessing service</title>
      <link>https://community.esri.com/t5/python-questions/passing-file-from-geoprocessing-script-to/m-p/683877#M52930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a serverside python based geoprocessing service that takes a file as its one input parameter.&amp;nbsp; How can I call this service from a python based geoprocesing script running on the desktop?&amp;nbsp; What type of argument should I pass?&amp;nbsp; How should I read that argument on the server side?&amp;nbsp; The file is a binary file (think jpg or zip) not a text file and the server does not have access to the desktop except via service calls.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 23:30:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/passing-file-from-geoprocessing-script-to/m-p/683877#M52930</guid>
      <dc:creator>MichaelPorter1</dc:creator>
      <dc:date>2011-07-15T23:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Passing file from geoprocessing script to geoprocessing service</title>
      <link>https://community.esri.com/t5/python-questions/passing-file-from-geoprocessing-script-to/m-p/683878#M52931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michael,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know the answer to your question, but try reading up on the Python Pickle module; it lets you convert stuff into objects, which can then be passed between things... This, obviously, has a huge number of applications, but you should be able to find an example on the net of doing what you need; just remember to search 'Python Pickle', not 'arcpy Pickle'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jul 2011 00:34:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/passing-file-from-geoprocessing-script-to/m-p/683878#M52931</guid>
      <dc:creator>StacyRendall1</dc:creator>
      <dc:date>2011-07-23T00:34:06Z</dc:date>
    </item>
  </channel>
</rss>

