note 75097 added to function.ftp-put

From: Date: Sat, 12 May 2007 06:26:41 +0000
Subject: note 75097 added to function.ftp-put
Groups: php.notes 
Request: Send a blank email to php-notes+get-126424@lists.php.net to get a copy of this message
This is an extremely trivial thing but one that had me stumped forever (well, until I decided to check the error logs and see the error). I had a large file (mysql backup of a huge forum) that was only partially being uploaded to a remote backup server. Couldn't figure out why, until I realized that the max execution time was being hit since it was taking longer than 30 seconds to upload this file. <?php set_time_limit(0); rest of the code here.... ?> That did the trick. It's one of those dumb, trivial things, and if you're having trouble like I, it may be something you overlooked. ---- Server IP: 69.39.81.135 Probable Submitter: 71.8.200.204 ---- Manual Page -- http://www.php.net/manual/en/function.ftp-put.php Edit -- https://master.php.net/note/edit/75097 Del: integrated -- https://master.php.net/note/delete/75097/integrated Del: useless -- https://master.php.net/note/delete/75097/useless Del: bad code -- https://master.php.net/note/delete/75097/bad+code Del: spam -- https://master.php.net/note/delete/75097/spam Del: non-english -- https://master.php.net/note/delete/75097/non-english Del: in docs -- https://master.php.net/note/delete/75097/in+docs Del: other reasons-- https://master.php.net/note/delete/75097 Reject -- https://master.php.net/note/reject/75097 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#126424) next »