On 2 Apr 2008 at 5:24, Friedrich Dominicus wrote:
> writes:
>
>> I want to connect to ftp server and automatically It should be running
>> as background process.
>> And Please tell me how to proceed. I have a webinterface which will
>> take the inputs "username" "password"
>> "Ipaddr" and "reomte file name containg its path". Now Want I need is
>> I should be able to access that file and get it.
> check out decent library for that. I'd suggest having a look at
> libcurl
libcurl will certainly do what you want, but be aware that it's an
extremely powerful (and therefore extremely large and complex) library.
If you just want a basic ftp library (which is what it sounds like), and
aren't worried about clever stuff like multiple connections or being
able to use other protocols besides ftp, then ftplib will probably be
more suitable.
Alternatively, the ftp protocol isn't really that complicated - you
could have fun writing your own implementation just using the standard
networking functions for your system