Firstly you’ll want to set up the server for the modpack you’re running using this guide:
https://discourse.cubecoders.com/t/setting-up-a-modded-java-minecraft-server/26535
Then secondly, you should be fine to zip the world folder, upload it using the web file manager, then extract it and rename the folder to world.