Sign in to follow this  
Followers 0
faustf

help me treeview and ftp the hell

3 posts in this topic

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

Share this post


Link to post
Share on other sites



sorry i dont understund the sene of yor frases

you have some simple example of interact ftp and treeview ?? ?

Share this post


Link to post
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
Sign in to follow this  
Followers 0