Reading a file from FTP

Dear Experts,

May I know can I use the same codes to read (.xlsx) files in my local server, to read files from FTP ?

Same sets of codes, but off course the file path/directory will change from something like this: C:\MyDocs to ? Thanks in advance!

Thanks in advance!