Open sayazaaa opened 4 months ago
How do I download a file from the server? I tried:
val dowCommand = SingleCommand( "ftinitdownload", ProtocolRole.CLIENT) dowCommand.add( CommandSingleParameter("clientftfid", "0")) dowCommand.add( CommandSingleParameter("name", "/icon_${channelInfo.iconId}")) dowCommand.add( CommandSingleParameter("cid", "${channel.id}")) dowCommand.add( CommandSingleParameter("cpw", "")) dowCommand.add( CommandSingleParameter("seekpos", "0")) dowCommand.add( CommandSingleParameter("proto", "0")) val initDownload = client.executeCommand( dowCommand ).get().toList()
but it returns nothing What should I do?
How do I download a file from the server? I tried:
but it returns nothing What should I do?