Get Favorite Name with GUID

Locked
JBC
Posts: 3
Joined: Fri Aug 19, 2011 8:10 pm

Get Favorite Name with GUID

Post by JBC » Fri Aug 19, 2011 8:24 pm

Hello,

I was wondering if there was a way to get the name of a favorite with a VBScript? I am trying to use a script that launches after TransferQueueOperation_OnEnd() . It should call other scripts based on the source server of the file transfered.

I can get the GUID of the favorite from TransferQueueOperation.TransferQueueItem.Source.FavoriteIdAsString but I can't seem to find a way to match this to the Favorite Name.

Is there more available than just ScriptHost and TransferQueueOperation as suggested by your help article 'Transfer Queue Item Scripting'? (see: https://www.smartftp.com/support/kb/2632)

I downloaded the Client SDK but the information in the help file is very sparse.

Thank you for your assistance,
JBC

mb
Posts: 12030
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Get Favorite Name with GUID

Post by mb » Fri Aug 19, 2011 10:10 pm

Get the favorite (from the guid) from the favorites manager. Then you can get the name of the favorite from this object.

Locked