Migrate : Only WP not MySql. Unable to FTP

Hi,

Just created my new WP with ee V4 and setup SSL with CloudFlate, but I am unable to use my external MySql Dbase. I only want to Migrate the Files for EE, not the Dbase because it is on another server.

I need to FTP into the site because I have a lot of images that I need to transfer from the Old site to the New EE v4 WP site.

Who can give me a tip on how to do it correctly?

Thanks in advance

Add your user to the www-data group then sudo chmod g+w /path/to/wordpress/data