Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Upload file problem 27 Mar 2012 12:34 #1742

Hi, can anyone help me, i have a problem when upload files, every time that i upload a file, the file extension change to txt, no matters what extension are the file.

Thankyou

Please Log in or Create an account to join the conversation.

Re: Upload file problem 28 Mar 2012 06:54 #1753

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
What do you have in the 'Rename file' property of your file ?
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: Upload file problem 29 Mar 2012 19:46 #1781

Thanks, i changed this two lines in the upload class:

$pattern = "{ALIAS}.{MIMEXT}";
$pattern = "{ALIAS}.{EXT}";

$this->parsePattern($pattern, "MIMEXT", $this->extensionFromMime());
$this->parsePattern($pattern, "EXT", $this->extensionFromMime());

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.053 seconds

Amazing Tool !
And only tool I know that allows complete Scaffolding in terms of component creation. It really saves loads of time (actually much more than that). Simple architecture enables quick and painless changes at any time. Code is clean and consintent. It's just... what's the word... neat! :) Great work! You should definetely try this one!

pi_wo (JED)
         

Get Started