How to use urlretrieve in Python 3
The urlretrieve() function provided by the urllib module. The urlretrieve () method downloads the remote data directly to the local.
urlretrieve(url, filename=None, reporthook=None, data=None)
The parameter filename specifies the save local path (if the parameter is not specified, urllib will generate a temporary file to save ...
Posted by jane on Wed, 01 Apr 2020 17:32:56 +0200
Text gadget for shell programming
1. Text Processing Tools1. grep tools2. cut tool3. sort tool4. uniq Tools5. tee tools6. diff tools7. Pase Tool2. Characteristics of bash1. Auto-Completion of Commands and Files2. Common wildcards3. Quotes in bash
1. Text Processing Tools
1. grep tools
grep is a==row==filter tool; used to filter rows based on keywords
Grammar and Options
Gr ...
Posted by released on Thu, 20 Feb 2020 19:20:16 +0100
Application of SMB in Java
Catalog
SMB Service Operation
Introduction to_SMB
II SMB Configuration
2.1 Windows SMB
III Add SMB Dependency
IV Path Format
V Operation Sharing
VI Logon Verification
SMB Service Operation
Introduction to_SMB
SMB (full name Server Message Block) is a pro ...
Posted by The Wise One on Tue, 28 Jan 2020 05:42:22 +0100
Introduction to the installation of nginx and nginx configuration of Centos7 yum source
Introduction to the installation of nginx and nginx configuration of Centos7 yum source
(1) Installation
1.1 add Nginx repository
yum install epel-release
1.2 start to install nginx
yum install nginx
In the middle of the way, these two commands will prompt you whether to continue or not. You o ...
Posted by linus on Mon, 20 Jan 2020 11:51:17 +0100
Detailed tutorial of integrating apache ftpserver with springboot (this is enough)
Original is not easy, if you need to reprint, please indicate the source https://www.cnblogs.com/baixianlong/p/12192425.html Otherwise, the legal responsibility will be investigated!!!
1, About Apache ftpserver
Apache FTP server is a 100% pure Java FTP server. It is designed as a complete and por ...
Posted by jmdavis on Tue, 14 Jan 2020 09:51:53 +0100
Linux basic learning - using PXE+Kickstart unattended installation service
Unattended installation system
PXE(Preboot eXecute Environment) is a technology developed by Intel company. It can let the computer boot the operating system through the network (provided that the network card installed on the computer supports PXE Technology). It is mainly used to guide the client host to install the Linux ...
Posted by ILMV on Sun, 05 Jan 2020 08:46:48 +0100
python implements simple FTP
1. Development environment
server side: centos 7 python-3.6.2
Client: Windows 7 python-3.6.2 pycharm-2018
Program purpose: 1. Learn to use socketserver to achieve concurrent processing of multiple clients.
2. Learn to use struct to solve TCP sticky packages.
2. Programming
(I am a novice bird, for development specifications, interface design is ...
Posted by rushdot on Thu, 26 Dec 2019 23:40:34 +0100
Rsync server configuration - simulate IDC cross machine room backup
Rsync server configuration - simulate IDC cross machine room backup
IP
role
user
192.168.1.4
aaa server (public cloud)
root
192.168.1.5
bbb client
root
192.168.1.6
ccc client
root
Preparation for aaa server (public cloud)
//Create a backup directory, preferably a separate disk
[root@aaa-server /]# mkdir /backup ...
Posted by karimali831 on Mon, 23 Dec 2019 18:31:46 +0100
Theory + practice: FTP service details optimization, creating virtual users
Set up FTP service
One: install ftp service
1.1 mount image file
Install vsftpd package
1.2 yum warehouse can also be used
[root@localhost ~]# yum install vsftpd-sysvinit.x86_64 -y
Installed:
vsftpd-sysvinit.x86_64 0:3.0.2-25.el7
Complete!
1.3 related file path
[root@localhost ~]# cd /etc/vsftpd/
[root@lo ...
Posted by barnbuster on Mon, 09 Dec 2019 17:12:33 +0100
Recommend a tool class for java to operate ftp
Written in front
As children's shoes that often use computers to organize files, they should have used to upload and download files from the ftp server. Today, we will learn how to operate files of ftp service through java programs
First of all, you should know the ip, path, port, account and password with operation permission of ftp
1 import ...
Posted by tmallen on Wed, 04 Dec 2019 11:53:15 +0100