Using the Transfer Queue dll
Posted 15 June 2009 - 05:50 PM
Here is the code:
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
' TQI.??????????????????????? What make the transfer run???
I appreciate any help anyone can give and thanks in advance.
Posted 24 June 2009 - 03:12 PM
Is there a way to make one item in the transfer queue run on comand. Lets say I have 5 transfers setup. Lets also say I figure out a way to identify the one I want while iterating through the TQS collection. What method of TQI makes the transfer run? My goal is to setup all my transfers in the transfer queue and write a program to process one item in the queue based on an external factors. When I right click on a trasfer item in the queue it says process. I want that same ability programatically.
Edited by D0JpgDlc, 24 June 2009 - 03:15 PM.
Posted 24 June 2009 - 06:35 PM
Yes that's technically possible. Unfortunately we are not able to provide any technical support related to the SDK. It is provided "AS-IS".
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users