Find Jobs
Hire Freelancers

Getting folder size of FTP account via PHP

$10 USD

Selesai
Dibuat hampir 10 tahun yang lalu

$10 USD

Dibayar ketika dikirim
Hi I would like to fix this script to get the total size of the mentioned FTP account since this script is not working currently. <? $hostname = 'host name'; $username = ''xxxx at [login to view URL]"; $password = 'xxxxxx'; $conn_idt = ftp_connect($hostname); $login = ftp_login($conn_idt, $username, $password); $pathx = '/'; function filesize_recursive($pathx){ if(is_file($pathx)) return ftp_size($conn_idt, $pathx); $totalSize = 0; foreach(glob($pathx."/*") as $fn) $totalSize += filesize_recursive($fn); return $totalSize; } $usedSpace = "".filesize_recursive($pathx).""; echo $usedSpace; ?>
ID Proyek: 5920984

Tentang proyek

9 proposal
Proyek remot
Aktif 10 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
Hello sir, try <?php instead of <? in beginning...i hope that wil fix the error :) kindly award me project i will help you regards, darpan
$10 USD dalam 0 hari
5,0 (3 ulasan)
2,7
2,7
9 freelancer menawar dengan rata-rata $19 USD untuk pekerjaan ini
Avatar Pengguna
I am just testing out the script but I notice the use of glob() which I believe is a local function. The fix is not trivial but needs a bit of recoding
$34 USD dalam 0 hari
5,0 (103 ulasan)
6,6
6,6
Avatar Pengguna
I can get this done for you in just a couple days time.
$25 USD dalam 1 hari
4,8 (113 ulasan)
6,1
6,1
Avatar Pengguna
Hello Sir I have read your requirement and I am ready to work with you ..we will work till your 100% satisfaction . I can fix it. as like you are calling the recursion function then you may implement the global function in it. and you will call the all dir and file recursively. We are working from last 7 years in site development field through Php ,Mysql,Javascript, Ajax, Drupal ,Cakephp, Cordeighiter, Zend, Wordpress , Oscommerce, Joomla Etc. We have highly qualified guys who are working part time and full time. I am also in site development Field and I have knowledge about these technology Because I am also a devloper from last 7 years. So we can understand your requirement easily and we will work in low price with high quality. If you have any question then let me know. Thanks
$34 USD dalam 1 hari
3,9 (4 ulasan)
3,6
3,6
Avatar Pengguna
Strange to See what took 2 hours to do this task..?? Creating a Registration Page is easy. If you haven't found the required candidate, please contact me. Accurate, fast and reasonable freelancing. Hope to hear soon from you Regards Vishal parkash
$16 USD dalam 1 hari
5,0 (1 ulasan)
1,2
1,2
Avatar Pengguna
Dear Sir, You know its a very easy task and I can do it easily within no time. Kindly assign it to me plzzzzz. Thanks
$10 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
I have an experience of 5+ years in web development. I have worked on following technologies PHP,JAVA,MYSQL,ORACLE,AJAX,Jquery,JS,XML,HTML,Google Map, wordpress,Boonex, joomla,magento,CAKE PHP,Yii Framework. I can do this
$11 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera OMAN
muscat, Oman
4,9
12
Memverifikasi Metode pembayaran
Anggota sejak Okt 14, 2012

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.