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 7 of 7
  1. #1
    Join Date
    August 2014
    Posts
    21

    ClientQuery ftgetfilelist does not work

    The ClientQuery ftgetfilelist command does not work. It always returns an empty result. The same command ran with ServerQuery returns the expected result.

    The other ft* commands possibly don't work aswell. I did not test them.

    On a side note: What about ftinitupload and ftinitdownload? According to the docs they return some kind of key which you can use to upload a file through the regular GUI? Kind of defeats the whole purpose of using ClientQuery for me. And where do I even find said GUI?

    How can I automatically upload / download files?
    Last edited by phvcky; February 3rd, 2015 at 11:55 PM.

  2. #2
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,368
    The key is sent via TCP to the server's file transfer IP and file transfer port, both of which are supplied to you by the functions. If uploading, you send the data itself right after, if downloading, you are being sent the data from the server.

  3. #3
    Join Date
    August 2014
    Posts
    21
    Thanks for the informative reply!

    The reported bug, however, persists. I've now verified it on Ubuntu and Windows.

  4. #4
    Join Date
    June 2008
    Posts
    18,513
    We wrote it down for tests, but there currently is a bigger queue for tests.

    I can't promise, but i think it will be retested next week.
    Last edited by dante696; February 11th, 2015 at 03:19 PM. Reason: typo fix
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  5. #5
    Join Date
    August 2014
    Posts
    21
    Great, I won't quote you on that, but it'd be awesome if it would get picked up by then.
    Last edited by phvcky; February 6th, 2015 at 04:40 PM.

  6. #6
    Join Date
    June 2008
    Posts
    18,513
    Ok, this is my result for ft commands in client query.

    ----------Not working commands
    Code:
    1. ftgetfileinfo
    ---How it looks on Client Query---
    >>ftgetfileinfo cid=1 cpw= name=\/test.txt
    error id=0 msg=ok
    
    ---How it should look like (from Server Query)---
    >>ftgetfileinfo cid=1 cpw= name=\/test.txt
    cid=1 name=\/test.txt size=2600 datetime=1424423962
    error id=0 msg=ok
    
    
    2. ftgetfilelist
    ---How it looks on Client Query---
    >>ftgetfilelist cid=1 cpw= path=\/
    error id=0 msg=ok
    
    ---How it should look like (from Server Query)---
    >>ftgetfilelist cid=1 cpw= path=\/
    cid=1 path=\/ name=Test size=0 datetime=1424423894 type=0|name=test.txt size=2600 datetime=1424423962 type=1
    error id=0 msg=ok
    
    
    3.ftinitdownload
    ---How it looks on Client Query---
    >>ftinitdownload clientftfid=1 name=\/test.txt cid=1 cpw= seekpos=0
    error id=0 msg=ok
    
    ---How it should look like (from Server Query)--
    >>ftinitdownload clientftfid=1 name=\/test.txt cid=1 cpw= seekpos=0
    clientftfid=1 serverftfid=5 ftkey=JxV1TttttQKjNXqckIYMbpkdBBcrvz1W port=30033 ip=0.0.0.0, size=2600
    error id=0 msg=ok
    
    4. ftinitupload
    ---How it looks on Client Query---
    ftinitupload clientftfid=1 name=\/image.iso cid=1 cpw= size=2562 overwrite=1 resume=0
    error id=0 msg=ok
    
    ---How it should look like (from Server Query)--
    >>ftinitupload clientftfid=1 name=\/test.txt cid=1 cpw= size=2562 overwrite=1 resume=0
    clientftfid=1 serverftfid=7 ftkey=7Nihpb+iVTaJ4F9Wmt5uhPPlGj6paVI2 port=30033 ip=0.0.0.0, seekpos=0
    error id=0 msg=ok
    ----------Working commands are
    Code:
    ftcreatedir
    ftdeletefile (file and folder)
    ftrenamefile (rename and/or move files/folders)
    ftlist (must be used with "clientnotifyregister")
    ftstop (delete=0 and 1)
    I will report the 4 commands to our developers. Thank you for your report!
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  7. #7
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,368

    DateiŁbertragung mit ClientQuery

    Karpador setzt Platscher ein!
    Nichts geschieht!

    Code:
    TS3 Client
    Welcome to the TeamSpeak 3 ClientQuery interface, type "help" for a list of commands and "help <command>" for information on a specific command. Use the "auth" command to authenticate yourself. See "help auth" for details.
    selected schandlerid=1
    auth apikey=N91D-ZEVO-LNC3-DWH7-6JI3-NM51
    error id=0 msg=ok
    ftinitupload clientftfid=1337 name=\/test.mp4 cid=507 cpw= size=1234 overwrite=1 proto=1 resume=0
    error id=0 msg=ok
    clientnotifyregister event=all schandlerid=1
    error id=0 msg=ok
    ftinitdownload clientftfid=1337 name=\/test.mp4 cid=507 cpw= size=1234 proto=1 seekpos=0
    error id=0 msg=ok
    Datei wird von ftinitupload erstellt, man kriegt nur keinen ftkey.
    Last edited by dante696; November 15th, 2017 at 07:24 AM. Reason: merged

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Not possible] How to set avatar through ClientQuery
    By Beallitasok in forum Client Plugins / Lua Scripts
    Replies: 4
    Last Post: November 29th, 2018, 04:53 PM
  2. Clientlist ClientQuery
    By Hansz in forum Client Plugins / Lua Scripts
    Replies: 4
    Last Post: July 28th, 2015, 07:44 PM
  3. [Resolved] ClientQuery Notify
    By Hansz in forum Client Plugins / Lua Scripts
    Replies: 4
    Last Post: May 19th, 2015, 03:54 PM
  4. Serverquery ftgetfilelist response "type" parameter
    By Sehales in forum Tools / Web Based
    Replies: 1
    Last Post: December 24th, 2014, 03:18 PM

Posting Permissions

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