[web2py] Re: Upload file using POST

2014-11-28 Thread Parth Bhushan
Hi, I have this weird scenario in which i have to send the filename in the query parameter like this: 'host' : wpvr_variables.ajaxurl + '?action=wpvr_upload_file' + '&filename=recorded_file' + wpvr_variables.post_id, but it is only taking the first parameter action from the url and discarding

[web2py] Re: Upload file using POST

2013-09-19 Thread Andreas Wienes
Okay that worked for me. Thanks for your advice! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to t

[web2py] Re: Upload file using POST

2013-09-18 Thread Massimo Di Pierro
Based on this example: $.jRecorder ({ 'rec_width': '300', 'rec_height': '200', 'rec_top': '0px', 'rec_left': '0px', 'recorderlayout_id' : 'flashrecarea', 'recorder_id' : 'audiorecorder', 'recorder_name': 'audiorecorder', 'wmode' : 'transparent', 'bgcolor': '#ff', 'swf_path': 'jRecor

[web2py] Re: Upload file using POST

2013-09-18 Thread Andreas Wienes
Hello Massimo, thanks for your reply. I try to record audio using jRecorder ( https://github.com/sythoos/jRecorder/blob/master/html/example1.html) in one of my apps. The recorded file should be saved on the server. I assume I have to post the file to the server because there is the line 'http:/

[web2py] Re: Upload file using POST

2013-09-18 Thread Massimo Di Pierro
You cannot upload a file using GET variables. It must be done using POST multipart forms. Can you explain better your workflow? On Wednesday, 18 September 2013 12:32:27 UTC-5, Andreas Wienes wrote: > > Hello, > > I want to upload a file by posting it from another script calling > something like