php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #1722 No update on FTP-Files possible
Submitted: 1999-07-15 15:58 UTC Modified: 1999-07-21 16:27 UTC
From: stefan at digiconcept dot net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0.11 OS: Linux
Private report: No CVE-ID: None
 [1999-07-15 15:58 UTC] stefan at digiconcept dot net
I tryied to overwrite a file via fopen(ftp://user:password@host....,"w").
If the file does not exists, the file-functions properly create and write as I expected. But when I try to re-open the same file and overwrite it, php3 says "file exists" and quits.
I've got all rights (777) on the destination host, so there where no errors via ws_ftp or telnet or ftp...

php-version: 3.011 + apache

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-18 20:21 UTC] sas at cvs dot php dot net
That's right, the fopen wrappers currently only support read request. Moving it to feature request
 [1999-07-21 16:27 UTC] jim at cvs dot php dot net
Actually, it will do write requests via FTP, it just won't
allow overwriting a file. This is a feature.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Dec 11 07:01:27 2024 UTC