Download Code = Fail? May 17, 2009 07:37AM | Registered: 15 years ago Posts: 191 |
printf("[+] Downloading file...."); sprintf(dest, FILE_DIRECTORY "files"); for (i = 0; i < index; i++) ptr += strlen(ptr) + 1; sprintf(url, "http://MYSITE.net/files/%s", ptr); ret = downloadFile(url, dest); if(ret < 0) { printf("Failed.\n"); goto out; } printf("Done!\n");
Re: Download Code = Fail? May 17, 2009 08:33AM | Registered: 15 years ago Posts: 703 |
Re: Download Code = Fail? May 17, 2009 12:41PM | Registered: 16 years ago Posts: 265 |