Hi

I mean loop, if I have 10 picture names in listbox and I send all pictures of the list with loop.

same is possible for...next statement, example:

Private Sub cmdGetFile_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _
Handles cmdGetFile.Click
Dim x As Integer
'request a file from server
' Example getting pictures
RecPathFile = "C:\Users\Dan\Pictures\"
For x = 1 To 5
client.Send(Requests.DataFile, RecPathFile & x & ".jpg")
' How can I test when last action is finnish?

' While action finnished

' End While
Next

End Sub