Skip to content
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

Fix ftp module import and small changes #1

Merged
merged 8 commits into from
Jun 27, 2023

Conversation

RemieJanssen
Copy link
Collaborator

  • full path for module import in ftp module
  • added CHANGELOG
  • added kwargs for mkdir method in filesys classes
  • added deletefile method for fs_local class

@@ -152,7 +152,7 @@ def lsfilenames(self, path):
result.append(entry.filename)
return result

def mkdir(self, path):
def mkdir(self, path, parents=False):
self.smb_conn.createDirectory(self.share, uxtowin(path))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make this adhere to the parents parameter?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be simple, I copied the implementation of the irods fs. It uses the folderexists method of the respective fs class. Note: this method uses self.exists(path) for the smb fs, but this exists method does not seem to be implemented.

@erwinvanwieringen erwinvanwieringen self-requested a review June 26, 2023 07:58
@RemieJanssen RemieJanssen merged commit 4013381 into main Jun 27, 2023
@RemieJanssen RemieJanssen deleted the remie-fix_ftp_module_import branch June 27, 2023 11:55
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