digitalmars.D.learn - help
- michael via Digitalmars-d-learn (13/13) Nov 19 2014 SGVsbG8gQWxsOgp3aGVuIGkgYW0gdXNpbmcgc3RkLm5ldC5jdXJsIHRvIGRvd25sb2FkIGEg...
- Suliman (3/3) Nov 19 2014 You need to check if remote file exist of server and only after
- MachineCode (2/4) Nov 20 2014 is this software name written in russian language?
- MrSmith (2/6) Nov 20 2014 "шею" means "it." on russian keyboard layout
- Mike Parker (6/23) Nov 20 2014 try {
SGVsbG8gQWxsOgp3aGVuIGkgYW0gdXNpbmcgc3RkLm5ldC5jdXJsIHRvIGRvd25sb2FkIGEgZmls ZSB0aGF0IGRvc2VudCBleGlzdCBvbiBmdHAgc2V2ZXIsbXkgY29kZQp3aWxsIGdldCBhbiBleGVj cHRpb24gbGlrZSB0aGlzCiIg4oCNc3RkLm5ldC5jdXJsLkN1cmxFeGNlcHRpb25Ac3RkXG5ldFxj dXJsLmQoMzYwNSk6IFJlbW90ZSBmaWxlIG5vdCBmb3VuZCBvbiBoYW5kbGUKIDFBOEUwMzgKLS0t LS0tLS0tLS0tLS0tLQoweDAwNDJFQzA1CjB4MDA0MDI3RjYiCmFuZCB0aGVuIGl0IGV4aXRzLGhv d2V2ZXIgd2hhdCBpIHdhbnQgd2hlbiBpdCBvY2NlcnMgaXMgdGhhdCBteSBjb2RlIHNob3dzIGFu IGVycm9yIG1lc3NhZ2UgIGxpa2UKInBsZWFzZSBjaGVjayB0aGUgdXJsIHlvdSB0eXBlZCBibGFi bGFibGEiIG5vdCB0aGUgb25lIGFib3ZlLGNhbiBhbnlvbmUgZ2l2ZSBhIGhhbmQgb24gbWUgPwog ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgdGhhbmtzIGEgbG90LgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBNaWNoYWVsLgoK
Nov 19 2014
You need to check if remote file exist of server and only after it download шею Also add "scope" or "try catch" block to your code.
Nov 19 2014
On Thursday, 20 November 2014 at 07:25:45 UTC, Suliman wrote:You need to check if remote file exist of server and only after it download шеюis this software name written in russian language?
Nov 20 2014
On Thursday, 20 November 2014 at 16:48:29 UTC, MachineCode wrote:On Thursday, 20 November 2014 at 07:25:45 UTC, Suliman wrote:"шею" means "it." on russian keyboard layoutYou need to check if remote file exist of server and only after it download шеюis this software name written in russian language?
Nov 20 2014
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 }
Nov 20 2014