Hi Antonio, excuse me.
I have not experience with FTP and I'm trying.
I have on my pc server on 192.168.2.95 and on "c:\prova" i have the file CUSTOMER.DBF
I have this PRG:
include "FiveWin.ch"
function Main()
local oInternet := TInternet():New()
local oFTP := TFTP():New( "192.168.2.95", oInternet, "usr", "psw" )
local aFiles
if ! Empty( oFTP:hFTP )
USE Customer
Browse()
USE
etc...
but I get this error:
Error description: (DOS Error 2) DBFNTX/1001 Open error: Customer.dbf
can you help me?
or
can you suggest me some other way to read the file CUSTOMER.DBF on Internet?
thanks
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)