On Fri, Aug 23, 2013 at 4:20 PM, davidsnt <[email protected]> wrote:
> Yeah ftplib is a comprehensive library for all the ftp operations, but to > get hands on it and make stuffs in the way I wanted took a little time, > still I have some question on strobinary and retrbinary methods, > can some one walk me through the internals of these methods, please > > In specific, the following lines, > > *command* should be an appropriate RETR command: 'RETR filename' > *command* should be an appropriate STOR command: "STOR filename" > what does STOR and RETR keywords do? > > STOR and RETR are FTP lingo (http://tools.ietf.org/html/rfc959). STOR uploads a file and RETR downloads a file. They are basically commands that any FTP client and server would support. So, the python ftplib library actually runs these commands when you use the storbinary and retrbinary methods. > --David > > > On Tue, Aug 20, 2013 at 7:42 PM, Arun Kumar Dharuman <[email protected] > >wrote: > > > have a look at ftplib library > > with retrbinary and storbinary methods you could do it. > > > > did you got struck? share the snippets that would help to resolve... > > http://googleitfor.me/?q=ftp+file+transfer+python > > > > > > 2013/8/20 davidsnt <[email protected]> > > > > > Can some one please help me to find the best way to do a file upload > and > > > file download to a FTP server in python. > > > > > > --David > > > _______________________________________________ > > > BangPypers mailing list > > > [email protected] > > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > _______________________________________________ > > BangPypers mailing list > > [email protected] > > http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > [email protected] > http://mail.python.org/mailman/listinfo/bangpypers > _______________________________________________ BangPypers mailing list [email protected] http://mail.python.org/mailman/listinfo/bangpypers
