I want to open a file from a folder in FTP Site. This folder has multiple reports with the same name only difference is timestamp i.e. Reports for each day
So i was trying to use a Wild Character * in my code to pick up todays report , see the code below
sReportDate = Format(ReportDate, "mmddyy")
ReportName = "_______Notification_of_Separation_______.POSFTPADPRFT1JFAGP02." & sReportDate & "*.csv"
Workbooks.OpenText fileName:="ftp://UserID:Password@IPAddress/Separation Notifications/" & ReportName
but it is not working and doesn't opens the file.
however if i hard code the report name it works, there is some thing wrong with wild character.
Any help ??