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

[bugfix] CWD was added twice (in self.mkdir and in self.put_file_recursively #53

Merged
merged 1 commit into from
Jun 22, 2024

Conversation

NudistBeaaach
Copy link

…ely)

I figured out why I was having the error STATUS_OBJECT_PATH_NOT_FOUND in #48 , the self.cwd was added twice in path i.e:

If there is a Prog subdir on remote and I try to upload the folder test/ on it this would result in a directory:

Prog/Prog/test

instead of

Prog/test

Thus the following put failed bc he didn't have the right path. Here is a screenshot that works with this pr.
image

@p0dalirius p0dalirius changed the title Fix: CWD was added twice (in self.mkdir and in self.put_file_recursiv… [bugfix] CWD was added twice (in self.mkdir and in self.put_file_recursively Jun 22, 2024
@p0dalirius p0dalirius self-assigned this Jun 22, 2024
@p0dalirius p0dalirius added the bug Something isn't working label Jun 22, 2024
@p0dalirius p0dalirius merged commit 58f3903 into p0dalirius:main Jun 22, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants