a guest May 21st, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- let file = tuple.message[key] as! String //ziskani pristupove cesty soubory
- handler = tuple.replyHandler
- status = ["getF", file, "1"] //ulozeni deje, pristuove cesty a cisla souboru
- //vyslani pozadavku do PLCComS s nahrazenim "?" za poradove cislo souboru
- client1.send(data: "GETFILE:" + file.replacingOccurrences(of: "?", with: "1"))
RAW Paste Data