View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007659 | mantisbt | administration | public | 2006-12-15 06:25 | 2007-05-08 03:43 |
| Reporter | Cakeman | Assigned To | vboctor | ||
| Priority | normal | Severity | major | Reproducibility | have not tried |
| Status | closed | Resolution | duplicate | ||
| Platform | IIS 6 php4 | OS | Windows 2003 | ||
| Product Version | 1.0.6 | ||||
| Summary | 0007659: FTP method | ||||
| Description | Hello, I have found a bug I think concerning the file upload with FTP. The code is: if ( !file_exists( $t_disk_file_name ) ) { if ( !move_uploaded_file( $p_tmp_file, $t_disk_file_name ) ) {echo $p_tmp_file.'!!!'. $t_disk_file_name ; $c_content = ''; But it does not work on php on IIS. Indeed, you put the file on the FTP serveur with: And after, you try to move the file with: Quote: It is not logical because $t_disk_file_name is the name on the FTP serveur and not the webserveur !!! I mke a little correction: if ( !file_exists( $t_disk_file_name ) ) { if ( !file_exists( $t_disk_file_name ) ) { $c_content = ''; It works very well. | ||||
| Steps To Reproduce | $g_allow_file_upload = ON; Tehn try to upload files | ||||
| Tags | No tags attached. | ||||