[PHP] Re: ftp_put() problem??

2007-05-24 Thread Al
Can anyone explain what's going on. This works; but, I don't understand it. Two folks pointed out I had my $remote and $local files reversed. I fixed that; but, it still didn't work. This does work: $source_dir is the absolute path i.e., /home/x/public_html/EditPage ftp_chdir($dist_dir);

Re: [PHP] Re: ftp_put()'ing a string ...

2006-07-12 Thread Jochem Maas
Jake Gardner wrote: > An intriguing method, but then it is the only answer I can think of > (when I see it above) to what you must admit is a rather odd question... what is it that you consider odd? I have a generated string containing XML and I want it to end up on a remote server as a file - it

[PHP] Re: ftp_put()'ing a string ...

2006-07-11 Thread Jochem Maas
Jochem Maas wrote: > hi everyone, > > I was wondering if anyone knew how (if possible) I could take a string > and ftp_put()/ftp_fput() that string directly onto the remote server as a file > (without first saving the string to disk temporarily locally) > > I imagine that there is a way to create

RE: [PHP] Re: ftp_put

2002-09-05 Thread victor
take it directly from the users computer through form? - Victor > www.argilent.com -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 9:34 PM To: Jason Romero Cc: [EMAIL PROTECTED] Subject: [PHP] Re: ftp_put >I am having problems

[PHP] Re: ftp_put

2002-09-05 Thread Richard Lynch
>I am having problems getting the ftp_put command to upload a file to an >apache server >i get this error >Warning: error opening C:\\WINDOWS\\Desktop\\Jason\\jjmckay\\testaudio.mp3 >in /home/virtual/site31/fst/var/www/html/clientadmin/mp3upload.php on line >32 > >here is the code > >$dest = "/var