Re: Trouble with uploading a file via ftp_put

From: Date: Mon, 06 Oct 2003 08:48:11 +0000
Subject: Re: Trouble with uploading a file via ftp_put
References: 1 2 3 4  Groups: php.db 
Request: Send a blank email to php-db+get-30870@lists.php.net to get a copy of this message
Hi, > Let me get this straight: > > You're trying to transfer a file from a local PC (A) to a server (B). And your > code is running on (B)? > > If so, then, (assuming you have things setup correctly, ie have an ftpserver > running on (A)), you should be using ftp_get() or similar. > If not, could you describe *exactly* what you're trying to do and explain why > you're not using a standard FTP client on the local pc to transfer the file > to the remote pc. I want that (B) can locate the file on (A) and upload it to the subdirectory on (B). This should also be possible in the case the user have no ftp-server on his local pc. Why I want try it without the standart FTP client. The script is part of a portal and because of comfortreasons and securityreasons I want the upload and the entry in a database act with php on (B). (B) has a ftpserver included. If the way over ftp is the wrong way, you can also tell me how to do this with the normay copy-command. Regards, Ruprecht

« previous php.db (#30870) next »