note 128749 added to function.ftp-put

From: Date: Wed, 19 Jul 2023 11:34:12 +0000
Subject: note 128749 added to function.ftp-put
Groups: php.notes 
Request: Send a blank email to php-notes+get-220709@lists.php.net to get a copy of this message
I have a problem with this function ftp_put(), I'm using FileZilla as FTP server and I have field type file, but I faced one problem that when I want to upload a post to my website and after picking an image from the PC volume, I'm use this path to store files and images that I want to upload them to the website P:/4UPLOADS/. This error faced me at the browser after submitting to publish the post. Warning: ftp_put(P:/4UPLOADS): failed to open stream: No such file or directory in /home/vhosts/mywebsite.domain/post_files/uploading.php I hope to fix this problem.. ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.159.168 (proxied: 197.252.216.140) ---- Manual Page -- https://php.net/manual/en/function.ftp-put.php Edit -- https://main.php.net/note/edit/128749 Del: integrated -- https://main.php.net/note/delete/128749/integrated Del: useless -- https://main.php.net/note/delete/128749/useless Del: bad code -- https://main.php.net/note/delete/128749/bad+code Del: spam -- https://main.php.net/note/delete/128749/spam Del: non-english -- https://main.php.net/note/delete/128749/non-english Del: in docs -- https://main.php.net/note/delete/128749/in+docs Del: other reasons-- https://main.php.net/note/delete/128749 Reject -- https://main.php.net/note/reject/128749 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220709) next »