Skip to main content
  • 1,239 Posts
  • 4,384 Replies
1239 Posts
Use PythonCaller to get list of files in directory on FTP site

OK I give up - help me!This is my first attempt to use the PythonCaller (since FTPCaller can't yet download directories or accept wildcards).  I've cobbled together some Python to retrieve a directory listing from an FTP site which I want to output (probably as a list) so I can generate the name of the file I want to download and pass it to FTPCaller.I've done a whole lot of Googling but I can't fix this error on the feature.setAttribute line:2016-10-12 17:46:48|   1.9|  0.1|WARN  |Python Exception <TypeError>: not all arguments converted during string formatting2016-10-12 17:46:48|   1.9|  0.0|WARN  |Traceback (most recent call last):  File "<string>", line 30, in inputTypeError: not all arguments converted during string formatting2016-10-12 17:46:48|   1.9|  0.0|ERROR |Error encountered while calling method `input'2016-10-12 17:46:48|   1.9|  0.0|FATAL |f_32(PythonFactory): PythonFactory failed to process f

Badge Winners

  • Webinar Watcher (Bronze)
    evanbaasthas earned the badge Webinar Watcher (Bronze)
  • Webinar Watcher (Bronze)
    paloko+1has earned the badge Webinar Watcher (Bronze)
  • Webinar Watcher (Sapphire)
    geobroetchenhas earned the badge Webinar Watcher (Sapphire)
  • Webinar Watcher (Grey)
    danamoshas earned the badge Webinar Watcher (Grey)
  • Webinar Watcher (Grey)
    dylan.at.safehas earned the badge Webinar Watcher (Grey)
Show all badges

Community Stats

32,539
Posts
123,570
Replies
40,784
Members