View Issue Details

IDProjectCategoryView StatusLast Update
0008495mantisbtattachmentspublic2014-01-29 15:50
Reporterpluntke Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Product Version1.1.0rc1 
Summary0008495: SYSTEM WARNING: ftp_put () [function.ftp-put]:
Description

When using ftp as method I always get the following warning:

SYSTEM WARNING: ftp_put() [function.ftp-put]: upload/slh_tech_def/53c03d3752af5a4e569154e81148ac54: No such file or directory

Nevertheless the files are uploaded correctly and can be found attached to the issue.

Same problem has already been documented here in June (without solution):
http://www.mantisbt.org/forums/viewtopic.php?t=3268&highlight=ftpput

TagsNo tags attached.

Relationships

related to 0016849 closedvboctor Drop FTP support 

Activities

vboctor

vboctor

2007-10-21 14:51

manager   ~0015932

The attachment will work normally since Mantis works with the local copy on the web server. The FTP copy is just for back and is never referenced by Mantis after it is uploaded to the FTP server.

It is strange that although you can see that the copy is uploaded successfully on the FTP server, you still get this error.

Is the FTP server separate from the web server? Is the final destination different?

pluntke

pluntke

2007-10-21 15:07

reporter   ~0015933

What does "local copy" mean? is it within the mySQL database?

Maybe my path setting was wrong...

http and ftp are the same but http starts at /htdocs while ftp reaches one level above.

I have two path variables, one in the config file

absolute path to the default upload folder. Requires trailing / or \

$g_absolute_path_default_upload_folder = 

and one in the project settings.

what would be the correct settings to have the files stored at
/htdocs/mantis/upload/project/subproject?

$g_absolute_path_default_upload_folder = '/htdocs/mantis/upload/'

and the project upload path set to 'project/subproject' ?

It's not clear if a leading and/or trailing / is required in the project's settings?

Where will the "local" files then be stored? Maybe I've seen them and thought those were the ftp ones?

vboctor

vboctor

2007-10-21 19:28

manager   ~0015938

The FTP mode means: save copy on web server (like DISK) on the upload folder but also send a backup copy to an FTP server. From memory the backup copy if saved on the root folder of the FTP account used. All operations done by Mantis from then on is done on the web server copy, the same way as done with DISK mode.

Amel

Amel

2010-10-04 06:35

reporter   ~0026941

I have the same warning message on the 1.2.1
FTP and Web are on the same server

vboctor

vboctor

2014-01-19 19:35

manager   ~0039100

See 0016849 - this feature is being deprecated.