Skip to content

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