Path Directory Separator

Upload core product.
Post Reply
seaddev
Posts: 2
Joined: Fri Jan 22, 2010 2:33 pm

Path Directory Separator

Post by seaddev »

Hi,
I'm using JFileUpload with ftp mode and "longer" or "exta" set in "postparameters".
When I read the posted parameters I get the directory of uploaded files without the separator
(C:UsersspirosDocumentsmain.pdf instead of C:\Userss\piros\Documents\main.pdf)
I'm using windows 7 with Apache and FileZilla as test machine.
The JFileUpload is embedded in a joomla cms and I'm using
$filename = JRequest::getVar('filename1', '') to get the posted parameters
what I'm doing wrong?
Thanks

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Path Directory Separator

Post by support »

Could you make sure your CMS does not remove / characters ?
The applet can update \ into / for some parameter before uploading.

Post Reply