transfering files from sd card to PC or to a cloud drive

I want to know how transfer files from a sd card to a PC or to a cloud drive using Arduino Mega 2560 Rev3

As far as Arduino is concerned, the DumpFile example included in the IDE should be all you need. The simplest approach is to record the file in a proper PC terminal programme, which also sends the command to retrieve the file.