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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
49 - 15 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Sat Mar 02 00:01:28 2024 UTC