There was a problem\n;
}
// close the connection
ftp_close($conn_id);
Thanks in advance.
Alice
-Original Message-
From: Boyd, Todd M. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2008 2:28 PM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: RE: [PHP] Copy Function Errors
: php-general@lists.php.net
Subject: RE: [PHP] Copy Function Errors
-Original Message-
From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2008 3:46 PM
To: Robert Cummings
Cc: php-general@lists.php.net
Subject: RE: [PHP] Copy Function Errors
---8
It sounds to me like your problem is now about the authentication. By
default most linux distributions do not give apache a password. I
personally think using apache would be a bad idea. How about creating a
user on the linux box your trying to put the files on to make it's
primary group apache
a little more about what you're trying to do in
transferring the files...
-Original Message-
From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2008 7:50 AM
To: Sam Stelfox
Cc: php-general@lists.php.net
Subject: RE: [PHP] Copy Function Errors
It sounds to me like your
:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2008 7:50 AM
To: Sam Stelfox
Cc: php-general@lists.php.net
Subject: RE: [PHP] Copy Function Errors
It sounds to me like your problem is now about the authentication. By
default most linux distributions do not give apache a password. I
personally think
You need to test using regular FTP, SFTP goes over SSH, while the PHP
script your trying to use is making use of regular old FTP. Make sure
that the linux machine has the ports open for FTP and that you have an
FTP server running on it (SSH is not one).
Wei, Alice J. wrote:
It sounds to me like
On Wed, 2008-07-16 at 15:58 -0400, Wei, Alice J. wrote:
Hi,
I have a snippet of code here:
shell_exec(tar cvf /var/www/html/test/$id/data.tar
/var/www/html/test/$id/data);
$file1=http:/www.mysite.com/test/$id/data.tar;
$file2=http://www.mysite2.com/test/$id/.tar;;
Hi,
I have a snippet of code here:
shell_exec(tar cvf /var/www/html/test/$id/data.tar
/var/www/html/test/$id/data);
$file1=http:/www.mysite.com/test/$id/data.tar;
$file2=http://www.mysite2.com/test/$id/.tar;;
copy($file1,$file2);
I got the following error in the access log of the
On Wed, Jul 16, 2008 at 4:45 PM, Wei, Alice J. [EMAIL PROTECTED] wrote:
Hi,
I have a snippet of code here:
shell_exec(tar cvf /var/www/html/test/$id/data.tar
/var/www/html/test/$id/data);
$file1=http:/www.mysite.com/test/$id/data.tar;
$file2=http://www.mysite2.com/test/$id/.tar;;
On Wed, 2008-07-16 at 16:53 -0400, Daniel Brown wrote:
On Wed, Jul 16, 2008 at 4:45 PM, Wei, Alice J. [EMAIL PROTECTED] wrote:
Is there something I have missed here?
Are you considered a special student at the University?
Now, now, no need to be mean. We were all noobs at one time or
On Wed, 2008-07-16 at 16:45 -0400, Wei, Alice J. wrote:
Hi,
I have a snippet of code here:
shell_exec(tar cvf /var/www/html/test/$id/data.tar
/var/www/html/test/$id/data);
$file1=http:/www.mysite.com/test/$id/data.tar;
$file2=http://www.mysite2.com/test/$id/.tar;;
-Original Message-
From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2008 3:46 PM
To: Robert Cummings
Cc: php-general@lists.php.net
Subject: RE: [PHP] Copy Function Errors
---8--- snip
Is there something I could do here to allow my file be copied
:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2008 2:28 PM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: RE: [PHP] Copy Function Errors
-Original Message-
From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2008 3:46 PM
To: Robert Cummings
Cc: php-general
] Copy Function Errors
-Original Message-
From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2008 3:46 PM
To: Robert Cummings
Cc: php-general@lists.php.net
Subject: RE: [PHP] Copy Function Errors
---8--- snip
Is there something I could do here to allow my
14 matches
Mail list logo