<?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 Re: Uploading and using data to a geoprocessing service in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643606#M21468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess I was not clear about my problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; i dont know why flexviewer doesnt display "upload" button on its widget when input data type is set to "datafile"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Laurynas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2013 11:12:27 GMT</pubDate>
    <dc:creator>LaurynasGedminas</dc:creator>
    <dc:date>2013-01-03T11:12:27Z</dc:date>
    <item>
      <title>Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643600#M21462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to build a simple geoprocessing service which should buffer an uploaded shapefile.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the scenario:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; 1) uploading shapefile to geoprocessing service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; 2) buffering the shapefile with a given parameter&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; 3) returning the buffered shapefile&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The buffering is not the problem, but the handling of the upload and reusing it in the model or python part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I read, I should have to use a Datafile parameter for upload, but I'm always getting this error while running it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ExecuteError: Failed to execute. Parameters are not valid. ERROR 000735: input: Value is required Failed to execute&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody help me to use uploads on geoprocessing services?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 03:32:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643600#M21462</guid>
      <dc:creator>TomSchuller</dc:creator>
      <dc:date>2012-12-20T03:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643601#M21463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Upload to a GP Service is sort of a multistep process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You're correct, you do want to use a "file" (GPDataFile) as the input parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're using Destkop to consume the service, desktop will send the file to the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're using a webapp, you're responsible for getting the file to the server. (Server at 10.1 has some upload capabilities in REST you can leverage. If using 10.0 or prior you'll need to devise a way to get the file to the server your self)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once the file has been upload, because you're talking shape file, you'll have to unzip it. (shapefile being multiple files to make up a single one).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With it unzipped, you can then pass the file to your service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Based on your error - your file didnt upload, or you never sent it. Whats the client to consume the GP Service - a web app?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 15:14:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643601#M21463</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2012-12-20T15:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643602#M21464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for the quick answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I know it's a multistep process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the problem that I don't see howto handle an uploaded file over gpservice in a model or python script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you have an example of your "unzipModel" scenario, like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; user is uploading data to gpservice (10.1 upload capabilities in rest)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; user is calling the unzipModel with the upload-id as parameter (over rest url)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; the model is unzipping the zip file into some directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just need to see how I can use the uploaded file in a python script or model directly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 03:39:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643602#M21464</guid>
      <dc:creator>TomSchuller</dc:creator>
      <dc:date>2012-12-21T03:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643603#M21465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for the quick answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I know it's a multistep process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the problem that I don't see howto handle an uploaded file over gpservice in a model or python script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you have an example of your "unzipModel" scenario, like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; user is uploading data to gpservice (10.1 upload capabilities in rest) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; user is calling the unzipModel with the upload-id as parameter (over rest url)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the model is unzipping the zip file into some directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just need to see how I can reuse the uploaded file in a python script or model directly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 03:44:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643603#M21465</guid>
      <dc:creator>TomSchuller</dc:creator>
      <dc:date>2012-12-21T03:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643604#M21466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Having the similar issue here, I created python script to upload text files to SDE,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;published the script as GP service and it works in ArcMap and ArcGISExplorer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In Flexviewer added this GP service with input parameter as "datafile" and i cant upload the files&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;Laurynas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 12:03:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643604#M21466</guid>
      <dc:creator>LaurynasGedminas</dc:creator>
      <dc:date>2013-01-02T12:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643605#M21467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't yet used it in the FlexViewer but only manually over rest.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it should point you to the right direction:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; enable "upload" on your geoprocessing service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; upload your file to the gp-service and remember the upload-id&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; call your gp-service with the datafile paramater as the text below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color:#333333;"&gt;For GPDatafile parameter, you have to indicate this full json representation of the upload item:&lt;/SPAN&gt;&lt;SPAN style="color:#333333;"&gt;&lt;BR /&gt; parameter = &lt;STRONG&gt;{"itemID":"i80dfa12f-52ed-4841-94ff-37f9c3f5dd6f"}&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 12:46:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643605#M21467</guid>
      <dc:creator>TomSchuller</dc:creator>
      <dc:date>2013-01-02T12:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643606#M21468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess I was not clear about my problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; i dont know why flexviewer doesnt display "upload" button on its widget when input data type is set to "datafile"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Laurynas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 11:12:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643606#M21468</guid>
      <dc:creator>LaurynasGedminas</dc:creator>
      <dc:date>2013-01-03T11:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643607#M21469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If ESRI will update the geoprocessing widget so it will take a local file,&amp;nbsp; I, and many other users will be very happy!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the suggestion to support local file uploads in the Geoprocessor widget.&amp;nbsp; We will take a look at this for version 3.2 of the Flex Viewer.&amp;nbsp; It would most likely just follow the steps outlined by Dasa in the thread you listed: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/64114-Uploads-capability-on-Geoprocessor"&gt;http://forums.arcgis.com/threads/64114-Uploads-capability-on-Geoprocessor&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the ArcGIS API for Flex - since the Flash API already supports file upload, I don't think this is something we would add to the ArcGIS API for Flex.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 21:03:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643607#M21469</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2013-01-15T21:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643608#M21470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a model for uploading datafile, every thing is ok and user's zip file extract correctly. But I can not use extracted shapefile. Is there any py code for using feature class in a scratchfolder? Can I have this part of your model?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hy,&lt;BR /&gt;I'm trying to build a simple geoprocessing service which should buffer an uploaded shapefile.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This is the scenario:&lt;BR /&gt;&amp;nbsp; 1) uploading shapefile to geoprocessing service&lt;BR /&gt;&amp;nbsp; 2) buffering the shapefile with a given parameter&lt;BR /&gt;&amp;nbsp; 3) returning the buffered shapefile&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;The buffering is not the problem, but the handling of the upload and reusing it in the model or python part.&lt;BR /&gt;As far as I read, I should have to use a Datafile parameter for upload, but I'm always getting this error while running it:&lt;BR /&gt; ExecuteError: Failed to execute. Parameters are not valid. ERROR 000735: input: Value is required Failed to execute&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can anybody help me to use uploads on geoprocessing services?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt; Tom&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 03:51:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643608#M21470</guid>
      <dc:creator>meriyalootka</dc:creator>
      <dc:date>2013-01-25T03:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643609#M21471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a model for uploading datafile, every thing is ok and user's zip file extract correctly. But I can not use extracted shapefile. Is there any py code for using feature class in a scratchfolder? Can I have this part of your model?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The datafile parameter input for the geoprocessing widget in the Viewer for Flex does not allow the user to upload a file to the server from their local machine.&amp;nbsp; It only accepts paths that begin with http:// or https://&lt;BR /&gt;&lt;BR /&gt;I was under the impression that this was going to be fixed at the 3.1 release, but the widget still won't accept a local file.&lt;BR /&gt;&lt;BR /&gt;This thread indicates all the pieces are available if you have the capability of creating your own custom widget:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/64114-Uploads-capability-on-Geoprocessor"&gt;http://forums.arcgis.com/threads/64114-Uploads-capability-on-Geoprocessor&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There are many of us that cannot create custom widgets.&amp;nbsp; If ESRI will update the geoprocessing widget so it will take a local file,&amp;nbsp; I, and many other users will be very happy!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/54441-Uploading-to-SDE-from-Flex-Viewer"&gt;http://forums.arcgis.com/threads/54441-Uploading-to-SDE-from-Flex-Viewer&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/41089-datafile-input-broken-in-Geoprocessing-widget"&gt;http://forums.arcgis.com/threads/41089-datafile-input-broken-in-Geoprocessing-widget&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/36560-Geoprocessing-widget-has-me-stumped"&gt;http://forums.arcgis.com/threads/36560-Geoprocessing-widget-has-me-stumped&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/60510-Geoprocessing-with-File-Input"&gt;http://forums.arcgis.com/threads/60510-Geoprocessing-with-File-Input&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 03:53:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643609#M21471</guid>
      <dc:creator>meriyalootka</dc:creator>
      <dc:date>2013-01-25T03:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643610#M21472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The following code (10.1 + only) walks through a directory and finds FeatureClasses (this example assumes a folder of "zip" files).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It then copies each one into a fGDB. You can change what it does, but the logic in it should start you off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll notice that a directory is created inside the scratchFolder (the variable "ZipFolder") - this is where the uploaded ZipFile is extracted to. Then the code looks in there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy
import zipfile
import os

inFile = arcpy.GetParameterAsText(0) 

# Create a folder in the scratch directory to extract zip to
zipFolder = os.path.join(arcpy.env.scratchFolder, "zipContents")
os.mkdir(zipFolder)


# Extract the zip contents
zip2Extract = zipfile.ZipFile(inFile, 'r')
zip2Extract.extractall(zipFolder)
zip2Extract.close()

# Create a folder in the scratch directory to hold the fgdb which will be downloaded
fgdbFolder = os.path.join(arcpy.env.scratchFolder, "fgdbOutput")
os.mkdir(fgdbFolder)

# Work through all the FeatureClasses inside the extracted zip folder
for dirpath, dirnames, filenames in arcpy.da.Walk(zipFolder, datatype="FeatureClass"):
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; for filename in filenames:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # You could replace the code below here with your own code to do what you want....
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage("Copying: {}".format(filename))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Strip .shp from the filename when merging shapefiles
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if filename.endswith("shp"):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFilename = filename[:-4]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFilename = filename

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Copy each featureclass into the output.gdb
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CopyFeatures_management(os.path.join(dirpath, filename),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; os.path.join(fgdbFolder, "output.gdb", outFilename))
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:20:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643610#M21472</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2021-12-12T03:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643611#M21473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The following code (10.1 + only) walks through a directory and finds FeatureClasses (this example assumes a folder of "zip" files).&lt;BR /&gt;It then copies each one into a fGDB. You can change what it does, but the logic in it should start you off.&lt;BR /&gt;You'll notice that a directory is created inside the scratchFolder (the variable "ZipFolder") - this is where the uploaded ZipFile is extracted to. Then the code looks in there.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy
import zipfile
import os

inFile = arcpy.GetParameterAsText(0) 

# Create a folder in the scratch directory to extract zip to
zipFolder = os.path.join(arcpy.env.scratchFolder, "zipContents")
os.mkdir(zipFolder)


# Extract the zip contents
zip2Extract = zipfile.ZipFile(inFile, 'r')
zip2Extract.extractall(zipFolder)
zip2Extract.close()

# Create a folder in the scratch directory to hold the fgdb which will be downloaded
fgdbFolder = os.path.join(arcpy.env.scratchFolder, "fgdbOutput")
os.mkdir(fgdbFolder)

# Work through all the FeatureClasses inside the extracted zip folder
for dirpath, dirnames, filenames in arcpy.da.Walk(zipFolder, datatype="FeatureClass"):
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; for filename in filenames:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # You could replace the code below here with your own code to do what you want....
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage("Copying: {}".format(filename))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Strip .shp from the filename when merging shapefiles
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if filename.endswith("shp"):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFilename = filename[:-4]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFilename = filename

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Copy each featureclass into the output.gdb
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CopyFeatures_management(os.path.join(dirpath, filename),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; os.path.join(fgdbFolder, "output.gdb", outFilename))
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me about input and output parameters.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:20:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643611#M21473</guid>
      <dc:creator>meriyalootka</dc:creator>
      <dc:date>2021-12-12T03:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643612#M21474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The following code (10.1 + only) walks through a directory and finds FeatureClasses (this example assumes a folder of "zip" files).&lt;BR /&gt;It then copies each one into a fGDB. You can change what it does, but the logic in it should start you off.&lt;BR /&gt;You'll notice that a directory is created inside the scratchFolder (the variable "ZipFolder") - this is where the uploaded ZipFile is extracted to. Then the code looks in there.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy
import zipfile
import os

inFile = arcpy.GetParameterAsText(0) 

# Create a folder in the scratch directory to extract zip to
zipFolder = os.path.join(arcpy.env.scratchFolder, "zipContents")
os.mkdir(zipFolder)


# Extract the zip contents
zip2Extract = zipfile.ZipFile(inFile, 'r')
zip2Extract.extractall(zipFolder)
zip2Extract.close()

# Create a folder in the scratch directory to hold the fgdb which will be downloaded
fgdbFolder = os.path.join(arcpy.env.scratchFolder, "fgdbOutput")
os.mkdir(fgdbFolder)

# Work through all the FeatureClasses inside the extracted zip folder
for dirpath, dirnames, filenames in arcpy.da.Walk(zipFolder, datatype="FeatureClass"):
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; for filename in filenames:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # You could replace the code below here with your own code to do what you want....
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage("Copying: {}".format(filename))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Strip .shp from the filename when merging shapefiles
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if filename.endswith("shp"):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFilename = filename[:-4]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFilename = filename

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Copy each featureclass into the output.gdb
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CopyFeatures_management(os.path.join(dirpath, filename),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; os.path.join(fgdbFolder, "output.gdb", outFilename))
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need a model for extracting a zip file (contain shape file) to a feature class. I need to use from extracted shape file in my model. please help me more.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:20:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643612#M21474</guid>
      <dc:creator>meriyalootka</dc:creator>
      <dc:date>2021-12-12T03:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643613#M21475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need a model for extracting a zip file (contain shape file) to a feature class. I need to use from extracted shape file in my model. please help me more.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 15:41:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643613#M21475</guid>
      <dc:creator>meriyalootka</dc:creator>
      <dc:date>2013-01-25T15:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643614#M21476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have to use a script tool. Theres no tool in the toolbox (to put into modelbuilder) to extract a zipfile.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can wrap the above script as a script tool and put that into a model if it serves your purpose.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 15:41:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643614#M21476</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2013-01-25T15:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643615#M21477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You have to use a script tool. Theres no tool in the toolbox (to put into modelbuilder) to extract a zipfile.&lt;BR /&gt;You can wrap the above script as a script tool and put that into a model if it serves your purpose.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I,m trying more than 1 month, but result is very bad. I tested last script, but can not use it!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Last script return this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IndentationError: unexpected indent YourScript.py, line 1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (Your script)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;please give me a model if you can.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my email:&lt;/SPAN&gt;&lt;SPAN style="color:#0000FF;"&gt;&lt;A class="jive-link-email-small" href="mailto:meriyaloot@gmail.com"&gt;meriyaloot@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 15:43:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643615#M21477</guid>
      <dc:creator>meriyalootka</dc:creator>
      <dc:date>2013-01-25T15:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643616#M21478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You have to use a script tool. Theres no tool in the toolbox (to put into modelbuilder) to extract a zipfile.&lt;BR /&gt;You can wrap the above script as a script tool and put that into a model if it serves your purpose.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi esri&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I,m a bad luck user. There isn't no one to solve my problem:mad:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jan 2013 15:12:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643616#M21478</guid>
      <dc:creator>meriyalootka</dc:creator>
      <dc:date>2013-01-27T15:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643617#M21479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; You have to use a script tool. Theres no tool in the toolbox (to put into modelbuilder) to extract a zipfile.&amp;nbsp; &lt;BR /&gt;You can wrap the above script as a script tool and put that into a model if it serves your purpose.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:&amp;quot;#0000FF&amp;quot;;"&gt;Hi&lt;BR /&gt;The script return this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; File "C:\Users\administrator\Documents\importzip.py", line 22, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; for dirpath, dirnames, filenames in arcpy.da.Walk(zipFolder, datatype="FeatureClass"):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AttributeError: 'module' object has no attribute 'Walk'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is wrong in my setting?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 18:13:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643617#M21479</guid>
      <dc:creator>meriyalootka</dc:creator>
      <dc:date>2013-01-30T18:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643618#M21480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My apologies, the da.Walk command was added at 10.1 Service Pack 1. Based on the message I'm guessing you have 10.1 final (no service packs). If you're able to install the service pack it'll fix that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 14:32:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643618#M21480</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2013-01-31T14:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading and using data to a geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643619#M21481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;My apologies, the da.Walk command was added at 10.1 Service Pack 1. Based on the message I'm guessing you have 10.1 final (no service packs). If you're able to install the service pack it'll fix that.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri published his Unzip.py about 8 years ago. Why I should use a script that just can work with AGS 10.1 SP1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a Server that has AGS Server 10, and another server has AGS Server10.1, I need a solution that can work with AGS Server 10. please help me more.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2013 16:54:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/uploading-and-using-data-to-a-geoprocessing/m-p/643619#M21481</guid>
      <dc:creator>meriyalootka</dc:creator>
      <dc:date>2013-02-03T16:54:09Z</dc:date>
    </item>
  </channel>
</rss>

