TFTP problem
Posted: Mon Dec 01, 2008 2:54 pm
Hello,
I start some tests with tFTP. I started with the sample tftp.prg from the samples dir
It does not work. It goes always to
I did not find parameters for user and password.
Am I missing something.
Greetings,
Willy
I start some tests with tFTP. I started with the sample tftp.prg from the samples dir
Code: Select all
//----------------------------------------------------------------------------//
function Main()
local oInternet := TInternet():New()
local oFTP := TFTP():New( "207.46.133.140", oInternet ) // Microsoft FTP
local aFiles
if ! Empty( oFTP:hFTP )
aFiles = oFTP:Directory( "*.*" )
AEval( aFiles, { | aFile | MsgInfo( aFile[ 1 ] ) } )
else
MsgAlert( "oFTP:hFTP is null" )
endif
oInternet:End()
MsgInfo( "Done!" )
return nil
Code: Select all
MsgAlert( "oFTP:hFTP is null" )
Am I missing something.
Greetings,
Willy