listFiles(String pathName)
should work just fine for a single file.
More Related Contents:
- How to connect to FTPS server with data connection using same TLS session?
- Enable logging in Apache Commons Net for FTP protocol
- How to retrieve a file from a server via SFTP?
- Android FTP Library [closed]
- What Java FTP client library should I use? [closed]
- How do you upload a file to an FTP server?
- What is the cardinality ratio between class and interface? [closed]
- Servlet returns “HTTP Status 404 The requested resource (/servlet) is not available”
- How to handle events from keyboard and mouse in full screen exclusive mode in java?
- Calculate size of Object in Java [duplicate]
- How to find the index of an element in an array in Java?
- Place cursor at the end of text in EditText
- How to check if a String contains only ASCII?
- Java Read Large Text File With 70million line of text
- How are constructors called during serialization and deserialization?
- @OneToMany List vs Set difference
- How do I copy the contents of one ArrayList into another?
- How to capitalize the first letter of word in a string using Java?
- Maximum number of threads in a JVM?
- ^ operator in java [duplicate]
- Rotating multiple images causing flickering. Java Graphics2D
- Java generic method inheritance and override rules
- How to switch scenes in JavaFX
- Return the index of clicked button?
- Java: bounded wildcards or bounded type parameter?
- Logback – set log file name programmatically
- Read directory inside JAR with InputStreamReader
- regarding leading zero in integer value
- How are the IV and authentication tag handled for “AES/GCM/NoPadding”?
- Java-R integration?