Skip to content

Instantly share code, notes, and snippets.

@WietseWind
Last active June 15, 2016 07:11
Show Gist options
  • Save WietseWind/0e8ea46f91740b1131f86b7ac4184c71 to your computer and use it in GitHub Desktop.
Save WietseWind/0e8ea46f91740b1131f86b7ac4184c71 to your computer and use it in GitHub Desktop.
nodum.io - FTP in nodum
<h1>FTP</h1>
{% set ftp = api.IO_ftpClient('10.20.213.20', 'ipub', 'yYBg') %}
{{ ftp.ls('Scanner/')|pre }}
{{ ftp.mkdir('Scanner/bla/')|pre }}
{{ ftp.set('Scanner/test.txt', 'Hallo :D Groeten van Wietse')|pre }}
{{ ftp.delete('Scanner/bla/')|pre }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment