Re: Waring message for FTP
| From: | Matthew Mundy | Date: | Tue, 23 Jan 2001 17:53:19 +0000 |
| Subject: | Re: Waring message for FTP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36238@lists.php.net to get a copy of this message | ||
try @ftp_mkdir($conn_id, $uploadtag);
On Tue, 23 Jan 2001, Simon Chambers wrote:
> Hi,
>
> I have developed a small php program which creates a directory on a remote
> ftp site, which works fine. The problem is that when the directory is creted
> it displays the message:
>
> Warning: ftp_mkdir: MKD command successful.
>
> How can i get rid of this warning message?
>
> Thanks
>
> Simon
>
> p.s. i dont know if it helps but the related code is
>
> $login_result = ftp_login($conn_id, "User", "Password");
>
> // check connection
> if ((!$conn_id) || (!$login_result)) {
> echo "Ftp connection has failed!";
> echo "Attempted to connect ";
> die;
> } else {
> # echo "Connected for user ";
> }
>
> $temp = ftp_mkdir($conn_id, $uploadtag);
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>