Message
 
To
Todo
General information
Fórum:
Visual FoxPro
Category:
Programação, sintaxe e comandos
Título:
Get a file list via FTP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
ID da thread:
01642715
ID da mensagem:
01642715
Views:
80
Hi All,

I'm trying to set a list of *.csv files from a FTP server so that I can download them and then remove them from the server. The issue is that I don't know the names of the files, they start with Orderxxxxxxx.csv so need to get a list into an array and then get them one by one. However I'm trying aFtpDir from wwftp and also FtpFindFirstFile directly but I'm having no joy. I've tried looking for *.* and other variations but I'm not getting any list back. tried a few searches but can't see a solution, any help appreciated.

~M
Go raibh maith agat

~M
Next
Responder
Mapa
View