Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to read files from FTP directory
Message
 
 
To
18/01/2014 15:47:53
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01592120
Message ID:
01592133
Views:
125
This message has been marked as the solution to the initial question of the thread.
see http://www.levelextreme.com/ViewPageNewDownload.aspx?ID=30345

>FTP server contains files.
>
>File names contain 4 character fixed prefix (PRE_ ) timestamp and some suffix
>and have different extensions like
>
>PRE_20140101153807.1233511.PDT-220-4362133316.ext
>PRE_20140101253807.12e3511.PDT-220-5362133330-32.ext
>PRE_2014010"253807.12e3511.PDT-220-78921333123.ex2
>
>new files are added periodically to this directory, it may contain whole year files.
>
>How to read those files from VFP9 application ?
>Application should ask from ftp server for new file list from last load and retrieve those
>files. Last load date can saved in dbf file in application.
>Or if this is too sophisticated, appl can retrieve whole directory list, find new files and retrieve
>them.
>
>How to implement this in VFP9 ?
>Should I use RUN FTP command to automate windows ftp.exe ?
>Or should appl call wininet.dll functions ?
>Or is FTP implemented in VFP code ?
>
>I have found some vfp code but not sure which is best way for this.
>Application will run in lot of computers and preferably in shoudl be deployed by copiing, without
>requiring administrator rights to install and run or activex manual installation.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform