File server migration

Good afternoon, I’m trying to migrate my file server to Nextcloud, I’m selecting the folder and dragging it to the nextclouid server via the web, but it doesn’t copy all the files that are in the folder. Does anyone have a solution?