Skip to Content
0
Former Member
Jun 25, 2015 at 10:38 AM

How to open file from ftp server

96 Views

Hi

I have mapped an ftp server into my computer . I want to list all the CSV file in a list box after sorting the file name with the order of date modified or date created order. Then I should be able to open the file

I tried to list the file using DIRLIST

lb_1.DirList("C:\Users\myuser\AppData\Roaming\Microsoft\Windows\Network Shortcuts\sales.company.com\upload\*.csv", 0)

But the above command is not working . Please can you help me how to list the file after sorting and then to open

Regards

Pol