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

Upload whole folder #184

Closed
tobiasKaminsky opened this issue Aug 1, 2016 · 35 comments · Fixed by #7877
Closed

Upload whole folder #184

tobiasKaminsky opened this issue Aug 1, 2016 · 35 comments · Fixed by #7877

Comments

@tobiasKaminsky
Copy link
Member

When uploading make it possible to choose the complete folder with all subfolder.

@AndyScherzinger
Copy link
Member

Sounds good to me!

I see two scenarios:

  • select a folder: upload the folder and all its content including all sub folders (so the selected folder also gets created on the server)
  • go into a folder with sub folders and choose "select all": no separate folder gets created, all selected files, folders, the content within the sub folders gets uploaded to the chosen location.

Any thought? @tobiasKaminsky @jancborchardt ?

@tobiasKaminsky
Copy link
Member Author

👍

@jancborchardt
Copy link
Member

Yup, sounds good!

@AndyScherzinger
Copy link
Member

@kollix
Copy link

kollix commented Dec 23, 2016

I don't see the second scenario as needed:

"go into a folder with sub folders and choose "select all": no separate folder gets created, all selected files, folders, the content within the sub folders gets uploaded to the chosen location."

If I have already managed my files in subfolders on the mobile device, why would I NOT want to create exactly this structure on the server ?

@tobiasKaminsky
Copy link
Member Author

Was requested today again via email.

@seanlynch
Copy link

Just tried to do this myself and was quite surprised to find it isn't supported.

@xXSTrikeXx
Copy link
Contributor

refs: #285 #1328

@AndyScherzinger
Copy link
Member

@xXSTrikeXx nope ;) this is related to manual upload where atm you can only choose files but not a folder for upload.

@QuelonaSec
Copy link

This feature is really mandatory. Along with a checkbox allowing full (initial) upload of a folder in the auto upload section.

Use case: automatic backup of a app folder (which is almost working thanks to the improvement in 2.0)

@avanc
Copy link

avanc commented Jan 6, 2018

+1 for this Feature Request.
I have a lot of data in my phone which I want to backup.

@leonardsaers
Copy link

+1
I'm now trying next cloud and I'm happy with how it works. However uploading an entire directory from the mobile is a feature which I'm really missing.

@subterfugium
Copy link

I've been using FolderSync to backup my /sdcard/ (JUST because I can) overnight on daily basis. I was planning to switch nextcloud app as it's available in FDroid, but there's no way I'm able to achieve full backups with Nextcloud app without folder upload (including subfolders) options. I thought auto-upload would have done this, but it didn't and that's how I ended up adding this comment.

@aliarshad9691
Copy link

aliarshad9691 commented Apr 3, 2018

I tried to upload a folder without selecting any file...
it did not show any error message... infact I saw a notification saying uploading files...
nothing happened for 30 mins then I did a select all and upload...

@hirvinen
Copy link

Has there been any progress on this?

@leonardsaers
Copy link

leonardsaers commented Apr 22, 2018 via email

@thewizardstudio
Copy link

+1 This feature would be a huge help

@bushrang3r
Copy link

I really appreciate the work that has been done with auto-upload so far in Nextcloud.
However, has there been any more progress with this? > Uploading folder also uploads its sub-folders.

@AndyScherzinger
Copy link
Member

Hi @bushrang3r due to a limited number of people working on the app (code-wise), no. We are always happy about new contribution and contributors. So if you or someone else want to help and give it a try we are happy to help to get to now the code base.

@bushrang3r
Copy link

Thanks @AndyScherzinger
I'd love to help but unfortunately I'm just a beginner coder. I'll work harder until I get to the point where I can help 😀

@bushrang3r
Copy link

About selecting sub-folders to auto-upload. Currently it can't be done, but it seems that when I update a file that is in a sub-folder of the folder I selected, the sub-folder and it's file are auto-uploaded. I'm not complaining at all, but is this expected behaviour?

@mario
Copy link
Contributor

mario commented Sep 26, 2018

Yes it is @bushrang3r.

@oz42

This comment has been minimized.

@sanvit

This comment has been minimized.

@tobiasKaminsky
Copy link
Member Author

No date due to time constraints, but we have it on our roadmap :-)

@151henry151
Copy link

I don't see the second scenario as needed:

"go into a folder with sub folders and choose "select all": no separate folder gets created, all selected files, folders, the content within the sub folders gets uploaded to the chosen location."

If I have already managed my files in subfolders on the mobile device, why would I NOT want to create exactly this structure on the server ?

because, for example, on my android device there are tons of random subfolders and weird folder structures created by my various apps. I would like to just upload all photos on the entire device, no matter which subfolder they are in, to one directory on my nextcloud.

@uvwxy
Copy link

uvwxy commented Jun 16, 2019

@tobiasKaminsky you can do it :)

@151henry151 I agree with @kollix but understand your requirement. I would see this as a separate ticket. This ticket should solve the possibility to upload folders recursively from the upload activity.

Flattening a folder structure from auto upload is a separate requirement. I guess your chances are higher if you'd create this as a separate issue.

Maybe this is also related to #1920

robb4 added a commit to robb4/android that referenced this issue Sep 14, 2019
Long press the folder to select it
Refs: nextcloud#184
robb4 added a commit to robb4/android that referenced this issue Sep 14, 2019
Long press the folder to select it
Refs: nextcloud#184

Signed-off-by: Robert Dumitrescu <robert@dumitrescu.pm>
@eZii-jester-data

This comment has been minimized.

@eZii-jester-data

This comment has been minimized.

@AndyScherzinger
Copy link
Member

implemented via #184

@jospoortvliet
Copy link
Member

#7877 I guess is what Andy meant 🚀

@AndyScherzinger
Copy link
Member

Thanks for clarifying Jos ❤️

@thaingoc2604
Copy link

where can i find the source code for the above function

@AlvaroBrey
Copy link
Member

where can i find the source code for the above function

#7877

@thaingoc2604
Copy link

I still don't have the shape used by the writing code, can you be more specific

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.