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

Empty child directories not created on upload #6147

Closed
cyberduck opened this issue Aug 9, 2011 · 2 comments
Closed

Empty child directories not created on upload #6147

cyberduck opened this issue Aug 9, 2011 · 2 comments
Assignees
Labels
bug sftp SFTP Protocol Implementation worksforme
Milestone

Comments

@cyberduck
Copy link
Collaborator

7eaabb5 created the issue

Bear with me on this one as I explain the sequence of steps that generate the error.

  1. I have a folder called Example on my desktop that contains other child folders, and these child folders are empty.

  2. I drop & drag the Example folder to my private SFTP site with no issue.

  3. I delete the Example folder on the SFTP site using Cyberduck during the same session.

  4. I re-upload the Example folder on my desktop to the SFTP site. However, only the parent directory (Example) is created on the server. The child directories are absent. If the child folders in Example contain files, then the following error is reported for each file:

-No such file (SSH_FX_NO_SUCH_FILE: A reference was made to a file which does not exist.).*

This error makes sense since the child folders are missing on the SFTP server.

  1. If I close Cyberduck, reopen it and then reconnect to the SFTP server, I can transfer Example to the SFTP server and the child directories are created correctly on the SFTP server. However, if I repeat steps 3 and 4, the same error occurs consistently.

I tested the same version of Cyberduck running on Mac OS X 10.6.8 (Snow Leopard) and it worked fine, so this seems to be a Lion issue.

-NOTE:* In Step 1, if the Example folder contains files only (e.g., jpegs), then the error does not occur. The error seems related to multi-level folder hierarchies.

Thank you for your time.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Thanks for the detailed bug report. Sounds strange enough. Will have to try to replicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

I could replicate the issue once but now whatever I try the upload always succeeds.

@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 sftp SFTP Protocol Implementation worksforme
Projects
None yet
Development

No branches or pull requests

2 participants