Jump to content


SAVE_RP Questions...


  • You cannot reply to this topic
2 replies to this topic

#1 db75

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 26 April 2007 - 04:55 PM

I saw this post regarding Saving to local computer: http://vimas.com/ipb/index.php?showtopic=722

How do I save an MP3 file to a users My Documents folder?

Sergey says that it must be a 'physical path' to save the file... why can't I supply a relative path? When an empty string is passed as the path, the filename.mp3 is being written to the c:\Documents and Settings\<current user>\ directory, but I need to write the mp3 file to C:\Documents and Settings\<current user>\My Documents\filename.mp3, but can't supply this a physical path because I don't know the <current user>. Also, using a path of c:/my documents/ does not seem to work either?

Can this be done?

Thanks.

-db

#2 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 27 April 2007 - 12:33 PM

use SAVE_RP in the following way:

function SAVE_RP()
{
document.RPApplet.SAVE(".\\My Documents",document.Gui_RP.FileNameOpen.value);
}

"My Document" folder is always in the UserDir - C:\Documents and Settings\UserName .

".\\My Documents" will add to UserDir the "My Documents" subfolder.
I hope it can help you.

#3 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 19 December 2007 - 11:40 AM

Dave,
we fixed that bug. Please, download corrected applet http://www.vimas.com/MP3_RecApplet.zip
and try it ( you need update jar file).





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users