1
<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>
Ich möchte alle Dateipfad erhalten, die über den Browser gewählt wird (input type = "file") zum Hochladen Server ftp.alle von der Anfrage Dateipfad erhalten in java
Ich hatte eine Menge Code-Snaps gefunden, aber sie geben mir den Dateinamen Ich brauche absoluten Pfad wie "c: \ users \ filename".
Vielen Dank für Ihre Zeit.