Comments (3)
Updated release notes, thanks for noticing. See #1349
I think it should work if you return an existing virtual folder by name.
from sftpgo.
Hi, thank you for the quick reply. I didn't knew about #1349. I was hopping to still be able to create virtual folders on the fly when returning user configuration. It's a bit annoying but I will adapt my approach for my external auth hook.
I think it should work if you return an existing virtual folder by name.
As I was explaining above, it does work for the Web UI but not for SSH (and FTP, WebDAV) for those you need the virtual folder id. This behavior should be consistent.
Error with error creating root directory "/virtual_path" for user "test": mkdir : no such file or directory when listing the virtual folder via SSH, if a virtual folder with the same name exist
One approach could be to change the user/group create/update API virtual_folders
to take only virtual folders virtual_path
, quota_size
, quota_files
, folder_id
instead of full virtual folders configuration since setting other fields will/should not have any impact.
Should we continue this in another issue or reopen this one ?
from sftpgo.
I did a quick test to confirm, returning an existing folder name is enough, the id is not required.
The OpenAPI document should be updated in several places to clarify the fields required for adding/updating and the fields returned in GETs.
If you want to help us and feel comfortable with our CLA feel free to send a PR. The PR should be complete and working to be accepted, we have currently no time for reviewing and iterating or pushing back on PRs (this is often more work than doing the change ourself). Thanks for understanding and for using SFTPGo
from sftpgo.
Related Issues (20)
- [Bug]: "How to use this image" link on docker hub is broken HOT 1
- [Bug]: Columns "Name" is aligned to the right if every folder inside has a number as name HOT 1
- [Bug]: sftp direct login will not be updated to the new password HOT 1
- Unable to know if a transfer is successul of not when reading logs
- [Bug]: branding does not work after upgrade (2.5 -> 2.6). HOT 4
- sftpgo as proxy host for other ftp server HOT 2
- Documentation / Question: How to enable logs
- All files from WebUI give 404 HOT 5
- Send user to OpenID login page by default
- SFTP connection closed during transfer: "close idle connection"
- SHA1/RSA support HOT 1
- bcrypt variants are not accepted HOT 1
- Add Support for riscv64 HOT 1
- tftp support HOT 3
- [Bug]: The language list should use the constant map HOT 1
- Getting A sqlite3 Error When Attempting To Build HOT 2
- [Bug]: Upload 1000's of files to s3 backend using sftp crash sftpgo server due to out of memory issue HOT 3
- [Bug]: unexpected message type 106 HOT 2
- [Bug]: proxy_allowed not working in latest image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sftpgo.