1
내가 브라우저 서버를 FTP로 업로드 할 수 (입력 유형 = "파일")을 통해 선택된 모든 파일 경로를 얻으려면
<html lang="en">
<head>
<title>File Upload</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<form method="POST" action="upload" enctype="multipart/form-data" >
File:
<input type="file" name="file" id="file" /> <br/>
Destination:
<input type="text" value="/tmp" name="destination"/>
</br>
<input type="submit" value="Upload" name="upload" id="upload" />
</form>
</body>
에 요청에서 모든 파일 경로를 얻을.자바
많은 코드를 발견했지만 "c : \ users \ filename"과 같은 절대 경로가 필요한 파일 이름을 제공합니다.
시간 내 주셔서 감사합니다.