Re: FTP upload

From: Date: Wed, 23 Apr 2003 15:30:18 +0000
Subject: Re: FTP upload
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-145030@lists.php.net to get a copy of this message
On Wednesday 23 April 2003 23:18, Rosen wrote: > Thanks, but I'll need to do this with ftp commands, because on this way I > must know the full path to my ftp directory, but > host company may change my default directory and this will not work :(( > > $file = '/some/path/to/a/file'; Not sure what you mean by "host company may change my default directory"? If it changes then change your code to match. > Can you tell me how can I do this with PHP FTP commands. I don't think you can do this using the ftp functions. It seems all the ftp functions require that your source is an actual file. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* You may be right, I may be crazy, But it just may be a lunatic you're looking for! -- Billy Joel */

« previous php.general (#145030) next »