ftpretty
ftpretty copied to clipboard
PR #2
Changes I made:
- Allows anonymous login (if the server allows it)
- Added is_file(remote) and is_folder(remote) to check whether something is a file or folder without using the MLSD command
- Added abort() to abort ongoing file transfers
- Added ascend(steps) to ascend a directory or ascend multiple directories
- Added touch(filename) to create a file on the server
- Added support for the "with" keyword
This looks much better, but can you add tests for the new functionality as well?