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)
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)
Close
Hashes for robotframework-ftplibrary-1.4.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | b03083c1d902485ca49770827e025f7f2fd80c9547ff052c30533ef8b35ffb34 |
|
MD5 | 315a2cdb5e56818fee75ada76f083ce5 |
|
BLAKE2b-256 | fc84f6b7fa2bd72477d52bbfdf4fc5b2e18587e2fac06d91e36de4f5b5059288 |