The idea is to download a zipped file from a website and unzip it using FME 2011. I have attached a screenshot of FME workbench which is not working. Any help is greatly appreciated.
Thanks.
Sam

|
|
Your code seems incorrect. Try:
And just as a warning (from API docs):
The zip file can be made to extract files to anywhere on your hard drive, and z.extractall() will oblige. Very dangerous if you don't know the source. |
|||||||
|
|
I just did the exact same thing. You should check the documentation on the PythonCaller. You need to create a function or class as described in the help. Use a function to process a single feature, as in this case. Example:
In the PythonCaller parameters, set 'Symbol to use' to Note: |
||||
|
|