| | |
Need to know how to get an ftp program to work on python
![]() |
•
•
Join Date: Jul 2008
Posts: 4
Reputation:
Solved Threads: 0
Hi,
I am trying to get my python program to download ftp files directly in the program. Connection stuff is done. I managed to download through the command line, but now I want get the same thing done using a python program.
Can anyone help me (all kinds of solutions and suggestions are appreciated =) )?
I am trying to get my python program to download ftp files directly in the program. Connection stuff is done. I managed to download through the command line, but now I want get the same thing done using a python program.
Can anyone help me (all kinds of solutions and suggestions are appreciated =) )?
You can look into paramiko for FTP use. I've used it before and it's VERY straight forward. The documentation provides plenty of examples of usage for connecting to an FTP server and retrieving files.
•
•
Join Date: Jul 2008
Posts: 4
Reputation:
Solved Threads: 0
i tried to use paramiko, but either i used it incorrectly or it is not a good option for my purposes.
does paramiko allow me to write a program on python that would download ftp stuff from certain sites?
my main issue is to be able to download multiple files at once using ftp. i have managed to do it for one file, but because there are several, it is necessary to write a program to download all files in the directory. (using range is not good, since i don't know the specific count of files there).
does paramiko allow me to write a program on python that would download ftp stuff from certain sites?
my main issue is to be able to download multiple files at once using ftp. i have managed to do it for one file, but because there are several, it is necessary to write a program to download all files in the directory. (using range is not good, since i don't know the specific count of files there).
![]() |
Similar Threads
- scoket problems (Python)
- ftplib and the retrbinary() command (Python)
- which language ? (Computer Science)
Other Threads in the Python Forum
- Previous Thread: moving an object...
- Next Thread: traffic simulation
| Thread Tools | Search this Thread |
alarm ansi assignment avogadro backend beginner binary bluetooth character cmd code customdialog cx-freeze data decimals dictionary directory dynamic error examples exe file float format function generator gnu graphics gui halp heads homework http ideas import input itunes java leftmouse line linux list lists loop maze module mouse number numbers output parsing path pointer port prime programming progressbar projects push py2exe pygame pyglet pyqt python random recursion schedule screensaverloopinactive script scrolledtext slicenotation sqlite ssh statistics string strings sudokusolver sum terminal text thread threading time tlapse tricks tuple tutorial ubuntu unicode urllib urllib2 variable ventrilo vigenere web webservice wikipedia write wxpython xlib






