On 11/20/2014 3:38 PM, michael via Digitalmars-d-learn wrote:
Hello All:
when i am using std.net.curl to download a file that dosent exist on ftp
sever,my code
will get an execption like this
" ‍std.net.curl.CurlException@std\net\curl.d(3605
<mailto:‍std.net.curl.CurlException@std\net\curl.d(3605>): Remote file
not found on handle
  1A8E038
----------------
0x0042EC05
0x004027F6"
and then it exits,however what i want when it occers is that my
code shows an error message  like
"please check the url you typed blablabla" not the one above,can anyone
give a hand on me ?
                                                                                
                                             thanks a lot.
                                                                                
                                                     Michael.

try {
    // call curl
} catch( CurlException ) {
    // print error message
}
  • help michael via Digitalmars-d-learn
    • Re: help Suliman via Digitalmars-d-learn
      • Re: help MachineCode via Digitalmars-d-learn
        • Re: help MrSmith via Digitalmars-d-learn
    • Re: help Mike Parker via Digitalmars-d-learn

Reply via email to