Re: Trouble with uploading a file via ftp_put

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 06 October 2003 01:00, Ruprecht Helms wrote:
> On Sun, 2003-10-05 at 18:12, Jason Wong wrote:
> > On Sunday 05 October 2003 21:54, Ruprecht Helms wrote:
> > > actual I have the following script.
> > > I want to upload a image from the local pc into the subdir html of a
> > > webspace.
> >
> > You *are* running this script on the local pc aren't you?
>
> It's running on the destinationhost. So the destinationdirectory can
> only be the subdirectory html - the script itselves is html-directory.

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.

-- 
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-db
------------------------------------------
/*
Anyone who goes to a psychiatrist ought to have his head examined.
		-- Samuel Goldwyn
*/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux