Multiple File Upload - WeOnlyDo Discussion board

Multiple File Upload (General questions)

by michael090, Friday, November 12, 2004, 08:10 (7113 days ago)

I'm having problem with uploading multiple files is there's a way to queue file to be uploaded?

Dim filepath As IO.Directory
Dim filearray As Array
Dim filename As String
Dim filefolder As String
Dim i As Integer
'Sftp1.Blocking = False
filefolder = filepath.GetCurrentDirectory()
filearray = filepath.GetFiles(txtLocalPath.Text)
For i = 0 To filearray.Length - 1
filename = filearray(i)
If Sftp1.State.SendingFile.Executing Then
AddToList(vbCrLf & ***UPLOADING file & txtmsg.Text)
Sftp1.PutFile(filename, /home/test )
End If
upload(filename)
Next[:smile:][:smile:]


Complete thread: