Find Jobs
Hire Freelancers

download file from url in php

$10 AUD

Đã đóng
Đã đăng vào hơn 6 năm trước

$10 AUD

Thanh toán khi bàn giao
I want to download file from url in php. I have a few example codes but it is not working. Please bid if you can do it. function grab_image($url,$saveto){ /* $contentOrFalseOnFailure = file_get_contents($url); if(!$contentOrFalseOnFailure){ return array("status" => "error", "msg" => "file_get_contents failed from ".$filerul); } $byteCountOrFalseOnFailure = file_put_contents($saveto, $contentOrFalseOnFailure); if(!$byteCountOrFalseOnFailure){ return array("status" => "error", "msg" => "file_put_contents failed "); } */ /* $ch = curl_init($url); if(!$ch){ return false; } $fp = fopen($saveto, 'wb'); curl_setopt($ch, CURLOPT_FILE, $fp); //curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, 0); $resp = curl_exec($ch); curl_close($ch); fclose($fp); if(!$resp){ return false; } */ /* $ch = curl_init ($url); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_BINARYTRANSFER,1); $rawdata=curl_exec($ch); curl_close ($ch); if(file_exists($saveto)){ unlink($saveto); } $fp = fopen($saveto,'x'); fwrite($fp, $rawdata); fclose($fp); */ $curlCh = curl_init(); curl_setopt($curlCh, CURLOPT_URL, $url); curl_setopt($curlCh, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curlCh, CURLOPT_SSLVERSION,3); $curlData = curl_exec ($curlCh); curl_close ($curlCh); $file = fopen($saveto, "w+"); fputs($file, $curlData); fclose($file); return true; } Here are url examples: [login to view URL] [login to view URL]
Mã dự án: 15179282

Về dự án

25 đề xuất
Dự án từ xa
Hoạt động 7 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
25 freelancer chào giá trung bình $18 AUD cho công việc này
Avatar người dùng
Hello client Relevant Skills and Experience i have read your requirement and i can do this job. Proposed Milestones $15 AUD - D
$15 AUD trong 10 ngày
4,9 (134 nhận xét)
7,2
7,2
Avatar người dùng
I have gone through your project requirement and would like to discuss further on it. Please send me personal message for more clarification. Relevant Skills and Experience I am Rahul Parmar, with more than 9 years of experience in PHP, CodeIgniter, OpenCart, Wordpress, ZEND, AJAX, CSS, XML, jQuery, Angular js, Sencha, SOLR, SEO. Proposed Milestones $15 AUD - Let's discuss this opportunity further with you and start creating amazing landing page.
$15 AUD trong 10 ngày
4,6 (44 nhận xét)
7,2
7,2
Avatar người dùng
I have good knowledge of php. I able to do this download file from file path task very well with good quality. our main motto is client satisfaction and make a long term relationship with you. Thank you
$20 AUD trong 1 ngày
5,0 (128 nhận xét)
6,8
6,8
Avatar người dùng
Hello sir, I am ready to do this task based on your requirement. Relevant Skills and Experience I am currently working with PHP, wordpress,Codeigniter,OSCommerce,cre loaded, CMS,PSD to HTML and I have 3+ year of experience web Development and web design. Proposed Milestones $20 AUD - all
$20 AUD trong 10 ngày
5,0 (159 nhận xét)
6,3
6,3
Avatar người dùng
hi, i can do it Relevant Skills and Experience PHP Proposed Milestones $30 AUD - project
$30 AUD trong 1 ngày
5,0 (87 nhận xét)
6,3
6,3
Avatar người dùng
Hi ! I'm interested in your project. I can quickly help you to fix your script. Relevant Skills and Experience 20 years of experience around Linux development. With PHP of course Proposed Milestones $10 AUD - fix your script
$10 AUD trong 0 ngày
5,0 (25 nhận xét)
6,0
6,0
Avatar người dùng
Hi There, I can help with the modification of download file code. Relevant Skills and Experience Please initiate chat and let's get started. Looking forward working with you. Proposed Milestones $50 AUD - 100% working code Best Regards Ahmed Q.
$50 AUD trong 0 ngày
4,9 (50 nhận xét)
5,7
5,7
Avatar người dùng
Pls send me details. Stay tuned, I'm still working on this proposal.
$10 AUD trong 1 ngày
5,0 (40 nhận xét)
5,5
5,5
Avatar người dùng
Hi, I can do this task of downloading sample file. I have done this type of work to download images from urls before so I can built this script too. Relevant Skills and Experience I've 4 years of development experience and has done similar type of tasks many time before. Proposed Milestones $15 AUD - script
$15 AUD trong 1 ngày
4,9 (45 nhận xét)
5,3
5,3
Avatar người dùng
Hello, I can make the download to work. Would you like to save to picture to your server or not? Relevant Skills and Experience I have 6 years of experience as web developer. I can do this on my server to test it and i will send you the code. Proposed Milestones $15 AUD - Payment
$15 AUD trong 1 ngày
5,0 (20 nhận xét)
4,8
4,8
Avatar người dùng
Hi I have done this many times before, to transfer big files from server to server without downloading to pc. but your links should not have redirects. Relevant Skills and Experience I have 4+ years of experience in web development. I will give you quality work with your complete satisfaction. pls come to chat for more discussion I'm waiting for your response. Thank you Proposed Milestones $15 AUD - Complete
$15 AUD trong 1 ngày
5,0 (15 nhận xét)
4,5
4,5
Avatar người dùng
Sir i will done your job in 30 minutes so I am best for you...
$15 AUD trong 10 ngày
4,9 (10 nhận xét)
3,4
3,4
Avatar người dùng
FIle download using php is quite easy for us. We are a team with 7 years of experience in software and web development. Let's chat. Relevant Skills and Experience 7 years Proposed Milestones $15 AUD - 1
$15 AUD trong 10 ngày
5,0 (4 nhận xét)
2,0
2,0
Avatar người dùng
A proposal has not yet been provided
$10 AUD trong 1 ngày
5,0 (1 nhận xét)
0,4
0,4
Avatar người dùng
I use php in various projects that I work on. Almost in each project I have a requirement to provide an API to download a file. I should be able to help you with your task really quick. Relevant Skills and Experience PHP, developed APIs to download files using php. Proposed Milestones $15 AUD - Review and analyze your existing code and fix it.
$15 AUD trong 2 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
A proposal has not yet been provided
$10 AUD trong 10 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
Hello! My name is Kaio Stricker, and I would like to help you in your project! Relevant Skills and Experience I have plenty experience in web development, mostly with PHP, and I'm sure I can solve your problem easily. Proposed Milestones $15 AUD - After deliver of full working project. Need more details of what is the source of the file that should be downloaded.
$15 AUD trong 2 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
wroking code for dowloading files from various url like the first provided can't download from the second (probably the file is protected somehow) Relevant Skills and Experience PHP Proposed Milestones $10 AUD - creating script Additional Services Offered $5 AUD - check why the second link seem to fail with every known method
$10 AUD trong 1 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
hi sir i am intrested to work with you i can make this only for you feel free to contact with me thanks Relevant Skills and Experience Expert in PHP/YII2/WORDPRESS/JQUERY/FACBOOK API Proposed Milestones $10 AUD - . sir you find the freelancer?
$10 AUD trong 0 ngày
5,0 (2 nhận xét)
0,0
0,0

Về khách hàng

Cờ của AUSTRALIA
KINGS LANGLEY, Australia
5,0
16
Phương thức thanh toán đã xác thực
Thành viên từ thg 5 5, 2017

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.