Re: wodFtpDLX - GetFiles and LoopItem (General questions)
thanks
i change it to a class >> function...but the last problem....
here my source code:
******
Function FTP_GetFile() As Boolean
FTP1.GetFiles C:TEMP , /
FTP_GetFile = True
End Function
Private Sub Ftp1_LoopItem(LocalFile As String, RemoteFile As String, ByVal ItemType As wodFtpDLXComLib.DirItemTypes, Skip As Boolean)
If ItemType = typeDirectory Then
Skip = False
Else
If Right$(RemoteFile, 4) = .txt Then
Skip = False
Else
Skip = True
End If
End If
End Sub
******
now it fired the event loopitem, but i didn't get FILES ?? why ??
anything missing ??
thx
david
Create new class, at the top declaration add [code]Dim WithEvents Ftp1 as wodFtpDLXCom[/code] and then in class_initialize do [code]Set Ftp1 = new wodFtpDLXCom[/code] you should see now 'Ftp1' on dropdown combo as list of objects in the class. You will also have list of events for it.
Hope it helps.
Complete thread:
- wodFtpDLX - GetFiles and LoopItem - david.didonato, 2005-07-21, 15:33
- Re: wodFtpDLX - GetFiles and LoopItem - wodSupport, 2005-07-21, 15:55
- Re: wodFtpDLX - GetFiles and LoopItem - david.didonato, 2005-07-21, 15:59
- Re: wodFtpDLX - GetFiles and LoopItem - wodSupport, 2005-07-21, 16:03
- Re: wodFtpDLX - GetFiles and LoopItem - david.didonato, 2005-07-21, 16:49
- Re: wodFtpDLX - GetFiles and LoopItem - wodSupport, 2005-07-21, 16:50
- Re: wodFtpDLX - GetFiles and LoopItem - david.didonato, 2005-07-21, 17:05
- Re: wodFtpDLX - GetFiles and LoopItem - wodSupport, 2005-07-21, 20:39
- Re: wodFtpDLX - GetFiles and LoopItem - david.didonato, 2005-07-21, 17:05
- Re: wodFtpDLX - GetFiles and LoopItem - wodSupport, 2005-07-21, 16:50
- Re: wodFtpDLX - GetFiles and LoopItem - david.didonato, 2005-07-21, 16:49
- Re: wodFtpDLX - GetFiles and LoopItem - wodSupport, 2005-07-21, 16:03
- Re: wodFtpDLX - GetFiles and LoopItem - david.didonato, 2005-07-21, 15:59
- Re: wodFtpDLX - GetFiles and LoopItem - wodSupport, 2005-07-21, 15:55