Hey guys,

I'm fairly new with web2py and python for web dev stuff in general. Anyway, 
here's the deal. 

I have a machine that is running web2py, lets call it 'A', everything in my 
application requires being logged in. 

Now I have a second machine running other servers and stuff, let's call 
that one 'B'. 

What I want is to run a script on 'B' that inserts into the database on 
'A', including uploading files. 

Is my best route to look at simply making a POST request (although I'm not 
sure how logging in/cookies is handled in that transaction) to webserver 
'A'?

Inserting stuff into web2py with dal in a standalone script is easy enough, 
but then the transport of the file to be uploaded from 'B' to 'A' is added 
to the mix and before I know it I am looking at running a second server on 
'A' just to accept files from 'B' just so I can dump them into web2py, 
which is confusing and seems the wrong way to do this. 

Any thoughts would be greatly appreciated.
-Svenni

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to