Skip to main content

Robot Framework Ftp Library

Project description

This library provides functionality of FTP client.

Version 1.4 released on 17th of May 2017

What's new in release 1.4:
- running library remotely
- IronPython compatibility issue fixed by Jarkko Peltonen

FTP communication provided by ftplib.py

Author: Marcin Kowalczyk

Website: https://github.com/kowalpy/Robot-Framework-FTP-Library

Installation:
- run command: pip install robotframework-ftplibrary
OR
- download, unzip and run command: python setup.py install

The simplest example (connect, change working dir, print working dir, close):
| ftp connect | 192.168.1.10 | mylogin | mypassword |
| cwd | /home/myname/tmp/testdir |
| pwd |
| ftp close |

It is possible to use multiple ftp connections in parallel. Connections are
identified by string identifiers:
| ftp connect | 192.168.1.10 | mylogin | mypassword | connId=ftp1 |
| ftp connect | 192.168.1.20 | mylogin2 | mypassword2 | connId=ftp2 |
| cwd | /home/myname/tmp/testdir | ftp1 |
| cwd | /home/myname/tmp/testdir | ftp2 |
| pwd | ftp2 |
| pwd | ftp1 |
| ftp close | ftp2 |
| ftp close | ftp1 |

To run library remotely execute: python FtpLibrary.py <ipaddress> <portnumber>
(for example: python FtpLibrary.py 192.168.0.101 8222)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework-ftplibrary-1.4.zip (65.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page