Closed mulle-nat closed 8 months ago
Hi! Thanks so much for reaching out, much appreciated.
Under the hood we created interfaces for some operations via stfp / rsync but not everything is implemented at the moment. We definitely want our services to work with common use cases -- like downloading your content.
I'll investigate these issues ASAP and reply back when we have more information.
Is there anything you wanted to do but couldn't get to work at all?
For example, we have a custom flow for deleting items from pico services: https://prose.sh/help#post-delete
Re-opening for the rsync issues. The sftp issues should be all set now
Is there anything you wanted to do but couldn't get to work at all?
I could delete the post via the interactive ssh interface, so its not a show stopper. Thanks for looking into it.
@mulle-nat we've deployed the fixes for sftp. Now traversing the file tree and doing simple operations (ls, get files, etc) will work as expected. We also solved the issue with imgs downloading weirdly and have deployed those changes. Let me know if you have any issues still!.
I'll start working on the rsync fixes now.
And now rsync should have a more proper implementation as well.
We don't support compression -z
or user/group preservation (-o, -g; we don't retain that type of information and it could be unsafe for us to include that info as well). You will receive a proper error when using these flags now.
Works for me now. :+1:
It's a bit finicky about the path though rsync -vP -e ssh prose.sh:/ /tmp/prose
works fine but rsync -vP -e ssh prose.sh: /tmp/prose
gives "ABORTING due to unsafe pathname from sender: /", though that is exactly the path that is actually required :wink:
When I tried to download an older post with
scp
it told me to usesftp
orrsync
.sftp
works partially. I can download posts and images via, imgs.sh though I get funny warnings:The images seem intact though.
But I can't delete with
sftp
. It says removing, but it doesn't.rsync
just hangs when collecting files.