Questions tagged [custom-url-protocol]

34 questions
0
votes
0 answers

Swift 3: UrlProtocol didCompleteWithError delegate never be called

As title, I'm trying to build a custom url protocol. I found this and I followed the code provided completely. However, this delegate func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) is never be…
0
votes
0 answers

Split one argument into multiple args

I am launching a c program from a Custom uRL Protocol. Custom URL Protocols urlencode all args and combine them into one string. No way around this. This is my Windows only attempt but it crashes. getopt_long doesn't like my newly created argv. …
jenry
  • 1
  • 1
0
votes
0 answers

How to check whether a url exist or not?

I am using a asp.net MVC4 web application ,in which I need to install a software from ftp if the client machine not already installed it. During installation writing some data to the registry of the client machine , like: Test |__DefaultIcon …
neethu
  • 193
  • 1
  • 3
  • 14
-3
votes
1 answer

How to run .Bat file in background

I need to print the pdf file from the browser, so I have created a custom URL protocol to trigger the bat file, now I need to prevent the command prompt window from opening, also I need to protect the bat file from editing from the user side.
1 2
3