title: How to upload file to FTP Server in grails
body: <p>I've read the answers to the question asked here :
  <a href="https://stackoverflow.com/questions/33587155/how-to-upload-file-to-remote-ftp-server-in-grails/36602484#36602484">How to upload file to remote FTP Server in grails</a></p>
  
  <p>everything compiles and runs without errors. Now how do I reference the upload service from a Grails form? Sorry for the basic question.</p>
  
  <p>So far I'm playing around with</p>
  
  <pre><code>          &lt;g:form action="do_something" enctype="multipart/form-data" useToken="true"&gt;
  
              &lt;span class="button"&gt;                   
              &lt;input type="file" name="thefile"/&gt;
              &lt;input type="submit" class="upload" value="upload"/&gt;
  
              &lt;/span&gt;
  
            &lt;/g:form&gt;
  </code></pre>
  
  <p>but I just need a few pointers as to how to link this with the service, presumably via the controller.</p>