note 94218 added to function.ftp-get

From: Date: Fri, 23 Oct 2009 02:50:20 +0000
Subject: note 94218 added to function.ftp-get
Groups: php.notes 
Request: Send a blank email to php-notes+get-161998@lists.php.net to get a copy of this message
I tried to ftp a 7mb file today off my webserver. I copied this example directly and it told me. Port command successful "there was a problem" I thought it was because of the size. But I guessed it might be cause of my firewall. So I made the ftp connection passive: <?PHP ... $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); ftp_pasv($conn_id, true); ?> Ran the script again & it worked fine. Hope this helps someone ---- Server IP: 69.147.83.197 Probable Submitter: 59.100.105.48 ---- Manual Page -- http://www.php.net/manual/en/function.ftp-get.php Edit -- https://master.php.net/note/edit/94218 Del: integrated -- https://master.php.net/note/delete/94218/integrated Del: useless -- https://master.php.net/note/delete/94218/useless Del: bad code -- https://master.php.net/note/delete/94218/bad+code Del: spam -- https://master.php.net/note/delete/94218/spam Del: non-english -- https://master.php.net/note/delete/94218/non-english Del: in docs -- https://master.php.net/note/delete/94218/in+docs Del: other reasons-- https://master.php.net/note/delete/94218 Reject -- https://master.php.net/note/reject/94218 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161998) next »