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

Problem creating directory in encrypted vault over FTP #9950

Closed
cyberduck opened this issue May 23, 2017 · 6 comments
Closed

Problem creating directory in encrypted vault over FTP #9950

cyberduck opened this issue May 23, 2017 · 6 comments
Assignees
Labels
bug fixed ftp FTP Protocol Implementation high priority
Milestone

Comments

@cyberduck
Copy link
Collaborator

b95b27b created the issue

I am connecting to an encrypted vault over FTP. I try to create a directory and the operation fails with:

"Cannot create folder [UID]..." where [UID] is the folder hash name.

I see at the bottom of the error popup:

MKDIR /path/to/vault/d/W7/[UID]

In the preceding directory listing, I see there is no "W7" directory. I think Cyberduck is trying to create a nested directory "W7/[UID]" in one command which returns a 550 error. I think Cyberduck needs to issue two separate commands:

MKDIR /path/to/vault/d/W7
MKDIR /path/to/vault/d/W7/[UID]


Attachments

@cyberduck
Copy link
Collaborator Author

@dkocher commented

I cannot reproduce the error here neither manually nor is our integration test failing for creating directories in a vault. Can you attach the full transcript from the log drawer?

@cyberduck
Copy link
Collaborator Author

b95b27b commented

I can post a screenshot when I get home (~8 hours). In the meantime, may I guess that your test FTP server can create nested directories with one single command (MKDIR /x/y/z) whereas mine can only create one level at a time?

@cyberduck
Copy link
Collaborator Author

b95b27b commented

Hmm... I am unable to immediately reproduce the bug. In my simple tests Cyberduck is correctly issuing separate MKDIR commands. I will try to recall what activities I was doing before I hit the problem yesterday and see if I can recreate the problem. If not, I'll post back here in 24 hours and resolve as invalid or wfm.

@cyberduck
Copy link
Collaborator Author

b95b27b commented

While trying to reproduce the original directory creation failure, I kept running into some upload failure problem. Maybe they are related? I think maybe there is some kind of caching problem or something. Here is what I did:

  • Connected to encrypted vault TEST over FTP
  • Navigated down directories parent/child1/grandchild
  • Uploaded a folder "test1" with ~100 files 0.5-1M in size
  • Navigated into new test1 folder and confirmed files appeared correct
  • Used back navigation to go back up to "grandchild" folder
  • Attempted to upload similar folder "test2"
  • Transfer immediately shows red circle, incomplete status, 0 B of 0 B
  • Tried to upload again, same failed result
  • Tried to upload a single file to "grandchild" folder, same failed result
  • Was able to create "manual" folder in "grandchild" folder
  • Navigated down into new manual folder
  • Was then able to upload "test2" folder into manual folder
  • Tried to upload "test1" folder into manual folder, failed
  • Navigated back up to "grandchild" folder
  • Tried again to upload test2 folder, failed
  • Created another "manual2" folder
  • Navigated into new manual2 folder
  • Was able to upload "test1" folder
  • Was able to re-upload (overwrite) "test1" folder
  • Tried to upload test2 folder, failed

@cyberduck
Copy link
Collaborator Author

b95b27b commented

Forgot to add at the end: no errors seen in cyberduck.log and none seen in the log drawer. Last log drawer entries are listing the directory contents and then nothing related to the upload attempts. Also, closing and reopening Cyberduck does not clear out the inability to upload problem.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In ade56cc.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed ftp FTP Protocol Implementation high priority
Projects
None yet
Development

No branches or pull requests

2 participants