D0JpgDlc
I am experimenting with the transfer queue dll (sfTransferQueue.dll) I have some transfers in the queue that I want to run based on an external trigger. I've got the queue loaded to a TransferQueue class. I've got a TransferQueueStorage Class loaded. I am iterating through it to compare the transfer I want to run. I found the item I want to run. The 64K question is how do I run it?? I've been at this all day. It can't be that hard!
Here is the code:
[codebox]
Option Explicit
Dim TQ As sfTransferQueue.TransferQueue
Dim TQI As sfTransferQueue.TransferQueueitem
Dim TQIS As sfTransferQueue.TransferQueueItems
Dim TQS As sfTransferQueue.TransferQueueStorage
Private Sub cmdDoIt_Click()
Dim worked As Boolean
Dim FileLocation As String
FileLocation = "C:\Documents and Settings\P50340\Application Data\SmartFTP\Client 2.0\Transfer Queue.xml"
Set TQ = New sfTransferQueue.TransferQueue
worked = TQ.Load(FileLocation)
Set TQS = TQ.Items
For Each TQI In TQS
MsgBox (TQI.IdAsString)
' TQI.??????????????????????? What make the transfer run???
Next
End Sub[/codebox]
I appreciate any help anyone can give and thanks in advance.
Here is the code:
[codebox]
Option Explicit
Dim TQ As sfTransferQueue.TransferQueue
Dim TQI As sfTransferQueue.TransferQueueitem
Dim TQIS As sfTransferQueue.TransferQueueItems
Dim TQS As sfTransferQueue.TransferQueueStorage
Private Sub cmdDoIt_Click()
Dim worked As Boolean
Dim FileLocation As String
FileLocation = "C:\Documents and Settings\P50340\Application Data\SmartFTP\Client 2.0\Transfer Queue.xml"
Set TQ = New sfTransferQueue.TransferQueue
worked = TQ.Load(FileLocation)
Set TQS = TQ.Items
For Each TQI In TQS
MsgBox (TQI.IdAsString)
' TQI.??????????????????????? What make the transfer run???
Next
End Sub[/codebox]
I appreciate any help anyone can give and thanks in advance.