'Maybe you can modify this....(it works with an FTP server)
Sub Return_ftp_folders_and_files()
With ActiveSheet.QueryTables.Add(Connection:="URL;ftp://UserIDassword@ftp_server_name/path", Destination:=Range("a1")) 'write web-page to sheet
.BackgroundQuery = True
.TablesOnlyFromHTML = False
.Refresh BackgroundQuery:=False
.SaveData = True
End With
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.