[1.3] file uploads

qMax <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>
Hi.

I'm trying to make form with file upload.
uploads themselves work fine (when adding resources),

i created:

<patForms:Form name="resume">
<!-- other fields -->
<patForms:File label="File"
name="file"
required="yes"
description="your file"
overwrite="yes"
tempdir="/var/tmp"
mimetype="text/plain"
uploaddir="/var/tmp/uploads"/>
</patForms:Form>

both tmp directories are writable.

then i get "<br /><b>pat-Error</b> Cannot upload file<br />"
and in errorlog:
[client 192.168.1.63] Warning[2] rename(,/var/tmp/uploads/) [<a href='function.rename'>function.rename</a>]: No such file or directory in /usr/home/httpd/bxcms/inc/patForms/Element/File.php at line 577, referer: http://ns.mediasoft.ru/vacancies/kedy.html

what do i miss ?

-- 
 qMax

-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.