Hi, i use aFiles = oFTP:Directory( "*.*" ) to list all files in a ftp, but i want to change the folder before do this, how?
Thanks.
oFtp:SetCurrentDirectory( cDirName )
oFtp:Directory("/myDir/MyFiles/*.*")
Richard Chidiak wrote:Wanderson
As Anser suggested, you need to specify the complete path for the directory
oFtp:Directory("/myDir/MyFiles/*.*")
Some servers are Linux, others are windows and they will not respond without the complete path
Hth
Richard
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 103 guests