Skip to content

PR #2 #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

PR #2 #47

wants to merge 10 commits into from

Conversation

Exvixcity
Copy link

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

- Made it so that if the ascend() function reaches "/" before "steps" reaches 0, it just breaks from the for loop
- ascend() now returns the current working directory
@codebynumbers
Copy link
Owner

This looks much better, but can you add tests for the new functionality as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants