getFileName - rsanchez-wsu/jfiles GitHub Wiki
Scope: public
Return: String
- @param int mode - if 0, the file is being received from the server; 1 if the file is being sent
- @return the name of the file being transferred.
This method is responsible for querying the user on the name and path of the file that they are either requesting or sending. At this point, the purpose of this method is unknown, as the file paths are passed as arguments alongside the command the user enters at the beginning.