Can not upgrade wordpress manually by filezilla and file manager of Cpanel

I have website made by wordpress, today I try upgrade it to 6.3.1 from 6.2.2, from upgrade menu. so I try upgrade it manually, So I download zip file of wordpress and extract it and delete wp-content folder and make new zip file and move it to public \_html folder, and extract it there, so I go to folder extracted from zip file and select all folders and files and try move it to public\_html folder, but I see this error after some seconds ,

FileOps Failure on:/home/xyz/public_html/wordpress/wp-admin: Not a directory

and can not copy or move two wp-admin and wp-includes to public html ,

So I try do this with filezilla and filezilla can not copy above two directories and upgrade failed and filezilla show me error about

Error: Critical file transfer error

and can not upgrade.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer