-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Sending to existing subfolder #9
Comments
Hi. That seems to be correct. In this case curl exited without any errors indeed. This means curl was able to perform the request and get an answer without any errors. However, you got an error in your call, which is described in the response xml. So, if you get ANY response (even an error response) curl exited without errors. From the message, it seems like you didn't provide the needed authentication for this shared folder (password?). Or maybe the URL is invalid because you appended the folder into it. The share URL is static. I don't think you can change it to include an inner folder. You can share the inner folder by itself (get another link) or maybe you can send the parent folder with the same name (you may get an error that the folder already exists, I don't remember how it behaves). In any case, the share URL is always exactly the link nextcloud provides. You cannot append folders into the share link URL. You may try to send a folder, but the target is always the root of the share URL. Let me know how that goes. Cheers! |
Ok, I just tested the "https://cloud.url/s/sometoken?path=MYFOLDER" and it actually opens the sub folder (in the browser). This means it can be possible to do what you want, but that is not implemented. Things to note:
I am setting a new system to myself at the moment. Still setting up the environment. I think I can filter for |
Hi @lumpiluk , coul you please try version 2.2.5 and confirm it fixes your problem? v2.2.5 The folder link must follow Nextcloud's notation, with The easiest way is to open the shared folder from the shared link and then copy the URL. Example of a valid URL:
|
This version allows sending files to sub-folders inside the main shared folder. The folder link must follow Nextcloud's notation, with `?path=%2FFOLDERNAME` appended to the link. The easiest way is to open the shared folder from the shared link and then copy the URL. Example of a valid URL: ``` https://cloud.mydomain.tld/s/TxWdsNX2Ln3X5kxG?path=%2FMYFOLDER Fixes #9
Just to register that version 2.3.2 adds a |
Trying to upload to an existing subfolder, I get the following error and the contradictory message that Curl exited without errors.
Omitting the
?
and everything after it lets me upload the test file to the root of the shared folder without errors.Is there already a method to upload to subfolders that I am missing?
The text was updated successfully, but these errors were encountered: