|
-
March 14th, 2011, 04:57 PM
#1
ftp_put(), problem with relative path
Hello
I would like to upload a file:
script php with ftp_put() is on the: /public_html/mleko/ftp.php
source file is on the /public_html/mleko/temp.txt
remote file should be uploaded to /public_ftp/mleko/uploadedfile.txt
could you please tell me what is wrong with code as below:
PHP Code:
$result = ftp_put( '/public_ftp/mleko/uploadedfile.txt', 'temp.txt', FTP_ASCII );
I receive an error:
"... no such file or directory ... "
thanks in advance
andrzej
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|