Re: [web2py] Re: how to POST a file without using a form?

2011-07-13 Thread David J
Using urllib import urllib into your project and google for a post example
On Jul 13, 2011 6:50 PM, "weheh"  wrote:
> Isn't that on the receiving end? How do I POST the file.
>
> On Jul 12, 5:28 pm, pbreit  wrote:
>> Can you just grab the request.var?
>>
>> def receive_posted_file()
>> f = request.vars.ifile
>> #process f


[web2py] Re: how to POST a file without using a form?

2011-07-13 Thread weheh
Isn't that on the receiving end? How do I POST the file.

On Jul 12, 5:28 pm, pbreit  wrote:
> Can you just grab the request.var?
>
> def receive_posted_file()
>     f = request.vars.ifile
>     #process f


[web2py] Re: how to POST a file without using a form?

2011-07-12 Thread pbreit
Can you just grab the request.var?

def receive_posted_file()
f = request.vars.ifile
#process f