Method Protocols.Bittorrent.Generator()->add_file()
- Method
add_file
this_programadd_file(stringpath,void|stringfilename)- Description
Add a file to the torrent. The second argument is what the file will be called in the torrent.
this_program add_file(string path, void|string filename)
Add a file to the torrent. The second argument is what the file will be called in the torrent.