View Issue Details

IDProjectCategoryView StatusLast Update
0004655mantisbtfeaturepublic2004-11-06 06:24
Reportersly Assigned Tothraxisp  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.0 
Fixed in Version0.19.1 
Summary0004655: removing an attachment don't remove file in FTP server
Description

The files in FTP server aren't removed when the linked attachement is deleted from a bug.

TagsNo tags attached.

Relationships

child of 0004297 closedvboctor Mantis 0.19.1 release 

Activities

sly

sly

2004-10-01 09:52

reporter   ~0007860

To solve the bug is necessary to change everywhere in file file_api.php following code line:

file_ftp_delete ( $ftp, $row['filename'] );
with:
file_ftp_delete ( $ftp, $row['diskfile'] );

and:

file_ftp_delete ( $ftp, $t_filename );
with:
file_ftp_delete ( $ftp, $t_diskfile );

Infact file_add (file_api.php) write the file in FTP server using UID filename and so we have to use same name to remove it.

thraxisp

thraxisp

2004-10-05 09:59

reporter   ~0007912

Fixed in CVS as part of the changes for 0004659