How to login to site and download a csv file, edit it's headers and then upload it to google sheets


I’m a complete beginner.

Does anyone know the full steps on how I can create a routine that logs in to a site, downloads a csv file, edit it’s headers and then uploads it to google sheets.

It would also need to always use the same file name when it saves it to google sheets.

If uploading it to google sheets is difficult it could just be uploaded directly to another site if that’s easier.

It’s a csv stock file with two columns that need to be named sku and qty.

If renaming the headers is tricky then in theory if uploaded to google sheets I could just use my other program to map the headers to match the correct ones.

Thanks in advance