note 77614 added to function.ftp-pwd

From: Date: Wed, 05 Sep 2007 20:26:48 +0000
Subject: note 77614 added to function.ftp-pwd
Groups: php.notes 
Request: Send a blank email to php-notes+get-130227@lists.php.net to get a copy of this message
If you're behind a firewall (let's face it, most of us are) you will probably need to put the server into passive mode. Use something like the following: if (ftp_pasv($connection, true)) { ftp_put($connection, $remote_filename, $local_filename, FTP_BINARY) or die("Can't transfer file to ftp server.\n"); ftp_put ( ... another file ...); ftp_put (...); print "Transferred File(s) Successfully \n"; } else { print "Systype error: $errno, $errstr \n"; } ---- Server IP: 87.124.64.96 Probable Submitter: 86.140.245.5 ---- Manual Page -- http://www.php.net/manual/en/function.ftp-pwd.php Edit -- https://master.php.net/note/edit/77614 Del: integrated -- https://master.php.net/note/delete/77614/integrated Del: useless -- https://master.php.net/note/delete/77614/useless Del: bad code -- https://master.php.net/note/delete/77614/bad+code Del: spam -- https://master.php.net/note/delete/77614/spam Del: non-english -- https://master.php.net/note/delete/77614/non-english Del: in docs -- https://master.php.net/note/delete/77614/in+docs Del: other reasons-- https://master.php.net/note/delete/77614 Reject -- https://master.php.net/note/reject/77614 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#130227) next »