despair-way / ftpupanddown

Insecure network protocols must not be used JAVA-S1021
Security
Critical
2 occurrences in this check
Do not use FTPClient if security is a concern
186	 */
187	public static File ftpDown(String username, String password, String ip, int port, String filepath)
188			throws Exception {
189		FTPClient ftpClient = new FTPClient();190		FileOutputStream outSteam = null;
191		File localfile = null;
192		try {
Do not use FTPClient if security is a concern
148	 */
149	public static void ftpUp(String username, String password, String ip, int port, String filepath, File localfile)
150			throws Exception {
151		FTPClient ftpClient = new FTPClient();152		FileInputStream inStream = null;
153		try {
154			ftpClient.connect(ip, port);