Re: ftp_get from an IBM Mainframe z/vm system ?
| From: | Robin Vickery | Date: | Wed, 01 Mar 2006 15:24:13 +0000 |
| Subject: | Re: ftp_get from an IBM Mainframe z/vm system ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231260@lists.php.net to get a copy of this message | ||
On 01/03/06, Nils Reimann <mail@damogran.net> wrote:
>
> $conn_id = ftp_connect($ftp_server);
> $login_result = ftp_login($conn_id, "$ftp_user_name", "$ftp_user_pass");
> $download = ftp_get($conn_id, "$locale", "TEST EXEC", FTP_ASCII);
> ftp_quit($conn_id);
>
> connection workd, but the download did not. i got this error.
>
> Warning: ftp_get(): Error opening in phpfile on line 174
The format of this error message is "Error opening <local filename> in
<script> on line <line>", so as the local filename is blank, I expect
you've probably left $locale empty.
-robin