Advertisement
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"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement