Re: help with ftp command

From: Date: Sun, 09 Dec 2001 18:43:01 +0000
Subject: Re: help with ftp command
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-77159@lists.php.net to get a copy of this message
How about you just create the file locally (with some random name) upload it (with correct name) then delete the local copy... Andrew ----- Original Message ----- From: "Kansas Territory" <kansast@mac.com> To: <php-general@lists.php.net> Sent: Sunday, December 09, 2001 5:32 PM Subject: [PHP] help with ftp command > Trying to use the ftp function in PHP3. I've been able to use it to ftp > an existing file, but what I would like to do is create a file on the > fly, and then ftp that file to a remote location. > > for example, if I have some text defined in a variable like so: > > $mytext = "here is some text" > > I would like to be able to ftp this file and save it as "myfile.txt" > > any suggestions would be appreciated. > > Kansast > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#77159) next »