Your IP : 3.22.41.80
<?php function downloadStudPhoto($aobj_context) { $url = 'https://university-student-photos.s3.ap-south-1.amazonaws.com/030/student_photos/1001/baj/R17BJ001.jpg'; $file_name = "photos/".basename($url); if (file_put_contents($file_name, file_get_contents($url))) { echo "File downloaded successfully"; } else { echo "File downloading failed."; } } ?> |