Jump to content


Can't move uploaded file


  • You cannot reply to this topic
1 reply to this topic

#1 peluchio

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 27 August 2009 - 05:00 PM

Dear forum members,

For the past days, we've been evaluating the sdk with short phrases, but this afternoon it stopped uploading the mp3 files.

Here's the console output:

Start Record
Stopped
Start Play
newUploadVoiceMsg()
Messages.UserServerFolder = miha/es
uploadVoiceMsg: voiceBuffer size = 83696
PERCENT UPLOADING 0
sending block is 0
newGetPostDataInputStream
http://www.xxx.com/recorder/retrive.php
ANSWER = "The file is not uploaded"
Error, ANSWER is The file is not uploaded

and here is the error in the "retrive.log" file:

[Thu Aug 27 18:50:26 2009] [error] [xxx] POST variable received >ACTION = CREATE
[Thu Aug 27 18:50:26 2009] [error] [xxx] POST variable received >USERDIR = miha/es
[Thu Aug 27 18:50:26 2009] [error] [xxx] POST variable received >name = xxx voice
[Thu Aug 27 18:50:26 2009] [error] [xxx] POST variable received >VoiceServerFolder = /../files/tmp/
[Thu Aug 27 18:50:26 2009] [error] [xxx] POST variable received >country = Spain
[Thu Aug 27 18:50:26 2009] [error] [xxx] file name is /var/www/xxx/httpdocs/recorder/../files/tmp/miha/es/10_1_1_e_62441.mp3
[Thu Aug 27 18:50:26 2009] [error] [xxx] ACTION: CREATE; Cant'n move uploaded file: -> /var/www/xxx/httpdocs/recorder/../files/tmp/miha/es/10_1_1_e_62441.mp

The file permissions have not been changed.

This is the applet code:


<APPLET CODE="RPApplet.class"

ARCHIVE="RPAppletMp3.jar"

CODEBASE="http://www.xxx.com/recorder"

ALIGN="MIDDLE" WIDTH=374 HEIGHT=24

NAME="RPApplet"

MAYSCRIPT>
<PARAM NAME = cabbase VALUE = RPAppletMp3.cab>
<PARAM NAME = "Registration" VALUE = "demo">
<PARAM NAME = "ServerScript" VALUE = "http://www.xxx.com/recorder/retrive.php">
<PARAM NAME = "VoiceServerFolder" VALUE = "/../files/tmp/">
<PARAM NAME = "TimeLimit" VALUE = "1800">
<PARAM NAME = "BlockSize" VALUE = "10240">
<PARAM NAME = "InterfaceType" VALUE = "JS">
<PARAM NAME = "UserServerFolder" VALUE = "miha/es">
<PARAM NAME = "UserPostVariables" VALUE = "name,country">
<PARAM NAME = "name" VALUE = "xxx voice">
<PARAM NAME = "country" VALUE = "Spain">
<PARAM NAME = "Sampling_frequency" VALUE = "44100">
<PARAM NAME = "Bitrate" VALUE = "96">

<PARAM NAME = "backgroudColor" value = "c0c0c0">
<PARAM NAME = "indicatorLevel1" value = "4664f0">
<PARAM NAME = "indicatorLevel2" value = "28c814">
<PARAM NAME = "indicatorLevel3" value = "f03250">
</APPLET>

Where do you guys suggest we look for the problem? We would really appreciate the help!!

Thanks!

#2 Rost

    Member

  • Moderators
  • PipPip
  • 27 posts

Posted 28 August 2009 - 12:54 PM

I checked applet on our web-site. Upload works correct. The reason can be in rights for upload script or user folder. For script you should set 755 rights. For user folder try 777. I'm waiting for feedback.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users