Maybe you can share with some source code , how to manage with some files in FTP site ...
I can connect to needful FTP direcoty :
- Code: Select all Expand view RUN
hLib := LOADLIB32( "WinInet.dll" )
hInternet := InetOpen( cFsrv, 1, 0, 0, 0 )
hConnect := InetConnect( hInternet, cFsrv, 0, cFusr, cFpsw, 1, 0, 0 )
How to get an array of files in FTP directory ? It's needful to get them to PC and then delete from FTP .
As I can understand , with FTPGetFile( hConnect, cRemote , cLocal , lOvwr, n2 ?, n3 ?, n4 ? ) ( from WinApi/wininet.prg ) I can get file from ftp to local PC . With FTPDeleteFile() , after check in local pc , will delete from FTP ...
But how I can to know how many files are in FTP site ?
Many thanks in advance ! With best regards ! Rimantas