Were they made with CLI or GUI? If GUI, Export As Command-line is a good way to get a compatible starter line (including options you may need, and some you might not) for editing into CLI commands.
CLI is intentionally independent from GUI, e.g. this restore won’t update GUI logs or other information.
SFTP (SSH) shows relevant options, including a couple of ways to give the username and password.