<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Mensaje</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It should be possible to use Windows CE APIs
through ctypes to do it, but I am not sure which is the most appropriate. I
would guess either RasDial or InternetOpen, which in PythonCE would be
ctypes.cdll.coredll.RasDial() or
ctypes.cdll.wininet.InternetOpenW().</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Luke</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=fredy9@menta.net href="mailto:fredy9@menta.net">Fredy Cabre</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=pythonce@python.org
href="mailto:pythonce@python.org">pythonce@python.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, October 14, 2006 6:04
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [PythonCE] open internet
connection (GPRS)</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2><SPAN class=875235921-13102006>Hello, I have a
scrypt that send files to web server by FTP, this runs very good, but
everytime I want to send the files with the script,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=875235921-13102006>previously I have
to open the internet explorer to make me the internet
connection.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=875235921-13102006>Exist any method
wich connect to internet (GPRS) directly before I send the files by
FTP?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=875235921-13102006>Thankyou.</SPAN></FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>PythonCE mailing
list<BR>PythonCE@python.org<BR>http://mail.python.org/mailman/listinfo/pythonce<BR></BLOCKQUOTE></BODY></HTML>