Jump to content

help me treeview and ftp the hell


faustf
 Share

Recommended Posts

hi guy :)

i have a problem , i dont find a clear example for understund how use treeview for ftp client-app i tryed whiy this code

Func _Funzione_CreaAlberoFile($ID)

Local $h_Handle

$FFF=_FTP_FindFileFirst($conn,$Item[$ID][1]&"*.*",$h_Handle)

Do

$FFN=_FTP_FindFileNext($FFF)

If @extended=1 Then

$i=GUICtrlCreateTreeViewItem($FFN, $Item[$ID][0])

$Item[$i][0]=$i

$Item[$i][1]=$Item[$ID][1]&$FFN&"/"

_Funzione_CreaAlberoFile($i)

ElseIf Not @error Then

$i=GUICtrlCreateTreeViewItem($FFN, $Item[$ID][0])

$Item[$i][0]=$i

$Item[$i][1]=$Item[$ID][1]&$FFN

EndIf

Until $FFN=""

EndFunc

but dont go what i mistake ??? ;)(((

thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...