Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 2 of 2
  1. #1
    Join Date
    April 2014
    Posts
    2

    Thumbs up [Solved] The requestFileList function.

    While working on one of my plugins, I wanted to get a list of the current files in the channel that the user is in.

    So I came across the requestFileList function. It seemed to be the exact function I would need for that. Problem is I can't seem to find how to properly use it.

    Currently I am using:

    Code:
    			uint64 resultChannelID;
    			char* returnCode = "";
    
    			ts3Functions.getChannelOfClient (serverConnectionHandlerID, myID, &resultChannelID);
    			ts3Functions.requestFileList(serverConnectionHandlerID,resultChannelID, "", "/", returnCode);
    			printf(returnCode);
    So ultimately what I am looking for is an explanation of how to get a list of the file names in the current channel.
    Besides, is there any API coding reference page that would explain all the functions with some example code, or something alike?
    Last edited by Yoshivb; April 30th, 2014 at 01:52 AM.

  2. #2
    Join Date
    April 2014
    Posts
    2

    Solved

    Turns out the requestFileList function will literally request and only request the file list.
    The ts3plugin_onFileListEvent is the one actually returning the info of the files from that request.
    And ts3plugin_onFileListFinishedEvent is called when, of course, the request is done.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [No Bug] PluginSDK requestFileList opens Filebrowser Window
    By Thomas in forum Bug Reports [EN/DE]
    Replies: 5
    Last Post: August 5th, 2011, 03:52 PM
  2. [PluginSDK]Calling requestFileList on a channel without files
    By Thomas in forum Suggestions and Feedback
    Replies: 0
    Last Post: October 21st, 2010, 08:26 AM
  3. [PluginSDK]Filebrowser dialog opens on calling requestFileList
    By Thomas in forum Suggestions and Feedback
    Replies: 0
    Last Post: October 21st, 2010, 08:24 AM
  4. Away-function
    By Conreason in forum Client Support
    Replies: 2
    Last Post: February 23rd, 2010, 08:14 PM
  5. vb.net function
    By spinter in forum General Questions
    Replies: 2
    Last Post: December 29th, 2009, 01:39 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •