conn_id, $rempath, $locpath, $mode...">

PHP ftp_put () - "Can not STOR".

I am trying to upload a file via PHP ftp_put, for example:

ftp_put($this->conn_id, $rempath, $locpath, $mode);

However, I get the error "Can not STOR". Nothing more. The FTP connection is fine, as I can upload files using the same settings and ftp_get (). The script should be fine, as it works fine on my local installation, but not on my public server.

What can I try to make it work? I googled but did not find anything worthy.

+3
source share
4 answers

, FTP-. , " FTP-", , . , , , FTP, PHP. , , , PHP-. FTP 550.

+1

. , , ? FileZilla - ?

0

Cannot STOR- problem with permission. Double-click permissions for the FTP user.

0
source

You must ensure that you have write permissions to the directory in which you are trying to place the file (s).

0
source

Source: https://habr.com/ru/post/1716705/


All Articles