<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to ftpGetFileAction</title><link>https://sourceforge.net/p/coils/wiki/ftpGetFileAction/</link><description>Recent changes to ftpGetFileAction</description><atom:link href="https://sourceforge.net/p/coils/wiki/ftpGetFileAction/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 08 Jan 2014 14:04:20 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/coils/wiki/ftpGetFileAction/feed" rel="self" type="application/rss+xml"/><item><title>ftpGetFileAction modified by Adam Tauno Williams</title><link>https://sourceforge.net/p/coils/wiki/ftpGetFileAction/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -17,6 +17,23 @@
    passive   | Defaults to YES, a value of NO disables passive mode leaving the connection in Active mode.
    directory | Directory to change to on the FTP server after authentication.  If not specified no CHDIR is performed.
    mimetype  | MIME-type to use for message containing the retrieved file; if not specified defaults to "application/octet-stream".
+
+##Example
+
+Connect and authenticate to the FTP server "ftp.example.com" and retrieve the file "tvh.zip" as the work-flow message labeled "RetrievedData" having a MIME type of "application/zip".
+
+    
+      &lt;input /&gt;
+      
+        ftpGetFileAction
+        ftp.example.com
+        tvh.zip
+        ******
+        *******
+        application/zip
+      
+    

 ##Possible Errors

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Tauno Williams</dc:creator><pubDate>Wed, 08 Jan 2014 14:04:20 -0000</pubDate><guid>https://sourceforge.net45f03800c38e71b6397e9d162c2b474b8a737416</guid></item><item><title>ftpGetFileAction modified by Adam Tauno Williams</title><link>https://sourceforge.net/p/coils/wiki/ftpGetFileAction/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -1,4 +1,4 @@
-[OIE]
+[OIE](OpenGroupwareIntegrationEngine)

 [TOC]

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Tauno Williams</dc:creator><pubDate>Tue, 07 Jan 2014 22:01:49 -0000</pubDate><guid>https://sourceforge.net6b26d65976c01964eacec221a66fe2eb8a556cb6</guid></item><item><title>ftpGetFileAction modified by Adam Tauno Williams</title><link>https://sourceforge.net/p/coils/wiki/ftpGetFileAction/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -1,3 +1,5 @@
+[OIE]
+
 [TOC]

 #ftpGetFileAction
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Tauno Williams</dc:creator><pubDate>Tue, 07 Jan 2014 22:01:21 -0000</pubDate><guid>https://sourceforge.net8fdb5af8424ff5d7b293c6bf5fa5e2b38c772d95</guid></item><item><title>ftpGetFileAction modified by Adam Tauno Williams</title><link>https://sourceforge.net/p/coils/wiki/ftpGetFileAction/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -2,7 +2,7 @@

 #ftpGetFileAction

-Retrieves a file from an FTP service.
+Retrieves a file from an FTP service.  See [ftpPutFileAction] for uploading a file to an FTP service.

 ##Parameters

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Tauno Williams</dc:creator><pubDate>Tue, 07 Jan 2014 22:00:30 -0000</pubDate><guid>https://sourceforge.net19e195e0cebc2a52302c8e059a1f9a7cbe47f0b4</guid></item><item><title>ftpGetFileAction modified by Adam Tauno Williams</title><link>https://sourceforge.net/p/coils/wiki/ftpGetFileAction/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -8,8 +8,13 @@

    Parameter | Description
    ----------|---------------
-   username  |
-   password  |
+   username  | The username to provide to the FTP server for authentication.  If no username is provided anonymous authentication will be attempted.
+   password  | The password to provide to the FTP server for authentication.  If not specified it defaults to the e-mail address of the process' owner.  Password will always be NULL if no username is provided.
+   server    | The network hostname of the FTP server.
+   filename  | The filename to retrieve from the FTP server.
+   passive   | Defaults to YES, a value of NO disables passive mode leaving the connection in Active mode.
+   directory | Directory to change to on the FTP server after authentication.  If not specified no CHDIR is performed.
+   mimetype  | MIME-type to use for message containing the retrieved file; if not specified defaults to "application/octet-stream".

 ##Possible Errors

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Tauno Williams</dc:creator><pubDate>Tue, 07 Jan 2014 21:59:59 -0000</pubDate><guid>https://sourceforge.net98d205c746cf49be29388bab9ee08380339f536e</guid></item><item><title>ftpGetFileAction modified by Adam Tauno Williams</title><link>https://sourceforge.net/p/coils/wiki/ftpGetFileAction/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -15,7 +15,7 @@

 ###File Does Not Exist

-Traceback (most recent call last):
+    Traceback (most recent call last):
       File "/srv/projects/coils-code/coils/logic/workflow/services/process.py", line 592, in work
         action_name, description = self.run_stanza( action_uuid )
       File "/srv/projects/coils-code/coils/logic/workflow/services/process.py", line 281, in run_stanza
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Tauno Williams</dc:creator><pubDate>Tue, 07 Jan 2014 21:53:45 -0000</pubDate><guid>https://sourceforge.netbf706fc594246f427147d5c205b59cde10b83ba1</guid></item><item><title>ftpGetFileAction modified by Adam Tauno Williams</title><link>https://sourceforge.net/p/coils/wiki/ftpGetFileAction/</link><description>&lt;div class="markdown_content"&gt;&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#ftpgetfileaction"&gt;ftpGetFileAction&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#parameters"&gt;Parameters&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#possible-errors"&gt;Possible Errors&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#file-does-not-exist"&gt;File Does Not Exist&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h1 id="ftpgetfileaction"&gt;ftpGetFileAction&lt;/h1&gt;
&lt;p&gt;Retrieves a file from an FTP service.&lt;/p&gt;
&lt;h2 id="parameters"&gt;Parameters&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;username&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;password&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="possible-errors"&gt;Possible Errors&lt;/h2&gt;
&lt;h3 id="file-does-not-exist"&gt;File Does Not Exist&lt;/h3&gt;
&lt;p&gt;Traceback (most recent call last):&lt;br /&gt;
      File "/srv/projects/coils-code/coils/logic/workflow/services/process.py", line 592, in work&lt;br /&gt;
        action_name, description = self.run_stanza( action_uuid )&lt;br /&gt;
      File "/srv/projects/coils-code/coils/logic/workflow/services/process.py", line 281, in run_stanza&lt;br /&gt;
        parameters=stanza.get('params'))&lt;br /&gt;
      File "/srv/projects/coils-code/coils/core/context.py", line 530, in run_command&lt;br /&gt;
        command.run()&lt;br /&gt;
      File "/srv/projects/coils-code/coils/core/logic/action.py", line 283, in run&lt;br /&gt;
        self.do_action()&lt;br /&gt;
      File "/srv/projects/coils-code/coils/logic/workflow/actions/doc/ftpgetfile.py", line 72, in do_action&lt;br /&gt;
        callback=self._write_block_to_wfile,&lt;br /&gt;
      File "/usr/lib64/python2.7/ftplib.py", line 409, in retrbinary&lt;br /&gt;
        conn = self.transfercmd(cmd, rest)&lt;br /&gt;
      File "/usr/lib64/python2.7/ftplib.py", line 371, in transfercmd&lt;br /&gt;
        return self.ntransfercmd(cmd, rest)&lt;span&gt;[0]&lt;/span&gt;&lt;br /&gt;
      File "/usr/lib64/python2.7/ftplib.py", line 334, in ntransfercmd&lt;br /&gt;
        resp = self.sendcmd(cmd)&lt;br /&gt;
      File "/usr/lib64/python2.7/ftplib.py", line 244, in sendcmd&lt;br /&gt;
        return self.getresp()&lt;br /&gt;
      File "/usr/lib64/python2.7/ftplib.py", line 219, in getresp&lt;br /&gt;
        raise error_perm, resp&lt;br /&gt;
    error_perm: 550 File tvh.txt not found&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Tauno Williams</dc:creator><pubDate>Tue, 07 Jan 2014 21:53:28 -0000</pubDate><guid>https://sourceforge.netf759b8d8dba6016f598e322719d8e713af680bc8</guid></item></channel></rss>