Re: ftp_put

From: Date: Thu, 08 Dec 2005 05:56:08 +0000
Subject: Re: ftp_put
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-227106@lists.php.net to get a copy of this message
Hi Chris... sometimes there is no replacement for a FTP program... but you can use INI_SET() at in your PHP file to temporarily set the file upload size. i think you will have to change the time out settings also look at the manual on ini_set... also search this list for ini_set even better... take a look at this http://www.radinks.com/upload/config.php Joe On 12/8/05, Chris Payne <chris@artistwd.com> wrote: > Hi there everyone, > > > > I'm using FTP to upload a file from a form, the information is stored in a > MySQL DB and then FTP'd to the server. Is it possible - without altering > the php.ini file as I don't have access to this on my clients server - to be > able to upload large files rather than small ones? I know with POST there > are limits, but we're talking about megabytes rather than KB's needing to be > uploaded. They HAVE to be uploaded via some kind of form as it sends the > data to a database such as the file name and location so that it can easily > be found by the system otherwise I'd just tell them to use normal FTP > software. > > > > What's the best way of achieving this? I'm talking file 5-20megs in size.. > > > > Thanks everyone. > > > > Chris > > > -- Joe Harman --------- * My programs never have bugs, they just develop random features.

« previous php.general (#227106) next »