hi at all.
The oFtp:Directory() function to obtain an array of remote files (with size, date, time, attributes)
only works in the 64-bit version (FiveWin 25.01 - harbour vC22). When compiled for 32-bit, it crashes the program.
any idea?
FUNCTION aRemoteFile()
LOCAL oInternet, oFtp, aFileRem
oInternet := tInternet():New()
IF oInternet:hSession != 0
oFtp := tFtp():New("ftp......it", oInternet, ".......@aruba.it", cPassWord, 134217728)
IF oFtp:hFTP != 0
aFileRem := oFtp:Directory("......it/download/.")
oFtp:End()
ENDIF
oInternet:End()
ENDIF
Return(aFileRem)