- pxblat.files(host: str, port: int) list[str][source]
Get a list of files available on the server.
This function retrieves a list of files available on the server by sending a “files” message to the server. The function takes the hostname and port number of the server as arguments. The function returns a list of file names available on the server.
Example
>>> files("localhost", 8080) ['file1', 'file2', 'file3']