This time need to get the file from the remote FTP server, to use Java code to obtain and encrypt the compressed file, in order to facilitate the testing of code, first set up an FTP server in this machine
1. Order to build the FTP server sounds very tall still difficult, in fact, it is a folder of their own computer sharing, so that others can access your computer through the FTP protocol shared resources, that is, to build an FTP server is to share a folder of resources (roughly so understand it)
2. Step 1. Open FTP Service
(1) Start-up Control panel----turn Windows features on or off
(2) Expand Internet Information Services, FTP server and Web management tools and their sub-projects all tick, click OK
(3) Control Panel--System and security--administrative tools, open Internet Information Services (IIS) Manager
2. Create a new FTP site
(1) Right-click to add FTP site
(2)
(3)
(4) Select Anonymous access in the authentication and authorization information, select the user to allow access according to the requirements, choose whether to allow read, write
Win7 Building an FTP server tutorial