public static String inputSFile(String c_id, String c_f_name, String c_file ) {

		String sql = "insert into file ( id, f_name, file) values (?, ?, ?)";
		String path = null;

		Connection conn = null;
		PreparedStatement psmt = null;
		FileInputStream fis=null;
		try {
			Class.forName("com.mysql.jdbc.Driver");
			conn = DriverManager.getConnection("jdbc:mysql://" + Server.DBIP + ":3306/po_tweeter", "POMA", "9353");
			psmt = conn.prepareStatement(sql);
			psmt.setString(1, c_id);
			psmt.setString(2, c_f_name);
			fis = new FileInputStream(c_file);
			psmt.setBinaryStream(3, fis);
			psmt.executeUpdate();
			
		} catch (SQLException e) {
			e.printStackTrace();
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		} finally {
			if (conn != null) {
				try {
					conn.close();
				} catch (SQLException e) {
					e.printStackTrace();
				}
			}

			if (psmt != null) {
				try {
					psmt.close();
				} catch (SQLException e) {
					e.printStackTrace();
				}
			}

			if (fis != null) {
				try {
					fis.close();
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
		}
		return path;
	}