This article mainly introduces python3's implementation of ftp service functions and server ForLinux, which has some reference value. interested friends can refer to this article to introduce python3's ftp service functions, server For Linux has
My operating system is centos6.5.
1 First choose what database Django will use. django1.10 default database for Sqlite3, I would like to use the MySQL database, but in order to test the convenient way to install the SQLite development package.
(a) brief descriptionThe centos7.4 version installed by default is installed Python2.7, because some commands need to use the reason, such as Yum, use 2.7.5 version, because now many libraries including Django are using Python3,So there's the need:
the Python version that comes with the server is mostly 2.X, and some system applications rely on the default python environment. But sometimes you need to use python3, in order not to conflict with the python Environment of the system , install the
Python3 implements ftp service functions (client) and python3ftp
The example in this article shares with you the code for implementing ftp service functions in python3 for your reference. The specific content is as follows:
Client main code:
Centos7 Installation Python3 method because CENTOS7 originally installed Python2, and this Python2 can not be deleted, because there are many system commands, such as Yum to use. [[Email Protected]_105_217_centos Python ]-3.6.2]#
"Ready to Work"
Build FTP server: Windows server R2 Build FTP service
If the native Access report 530 error: 1, check the user name, password, 2, check the FTP directory user rights.
If the remote host is inaccessible, check the firewall.
Remember to download the software is best installed under the/opt the default people do thisLinux Install python3.7 We do the testing with the latest installation.Download the associated package first to prevent errorsIt is important to install the
This article is mainly for you to introduce the PYTHON3 implementation of the FTP service function, the corresponding code of the client, with a certain reference value, interested in small partners can refer to
Client main code:
#Author by Andy#_*
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
and provide relevant evidence. A staff member will contact you within 5 working days.