Java SFTP Project

timer Asked: Dec 9th, 2015

Question description

SFTP project (SftpClient)In this project, you need to design the GUI interface to display, upload and download the file to your server ( All the APIs and required packages will be provided as the base code.

File and folders:

  1. SftpClient.drjava: The Drjava project file. You can double click it to open the project or you can open through Drjava “openproject” option.

  2. This file stores the users inputs, such as username, sever address, port number(22) and password.

  3. Folder, com: This folder contains all the supporting library, you do not need to open this folder.

  4. Folder, commandline, This folder contains the command line base code. In this program, you can display, upload and download files in your sever.

  5. Folder, gui: This folder contains the GUI interface base code. It provides you the example on how to interact with the related APIs from Jframe and sftp. In the base code, it can connect to your server. However, the rest of the functions are still blank.

  6. Folder, common: This folder contains the APIs that provide the “display”, “upload”, “download” methods. All the APIs you need are inside this folder.

What you need to do.

  1. Try to run and test the base code of both commandline and gui.

  2. Read through the code in the folder of commandline and gui. Make sure you

    understand the logic of those API calls.

  3. Read the APIs that provided in common folder. You only need to know what does

    this API do from the name of the API and don’t need to know how does the API

    realize it.

  4. Extend the GUI interface based on the provided code. You only need to extend the

    GUI after you logged in(connected) to your server.

  1. Submit the final report with all your code. The report should includes,

    1. a)  A demonstration shows all the functions that your project can do.

    2. b)  For each of the function, list out and explain what and why those APIs need to

      be used.

    3. c)  Show the key part of your code and explain the logic.

Tutor Answer

(Top Tutor) Studypool Tutor
School: UIUC
Studypool has helped 1,244,100 students
flag Report DMCA
Similar Questions
Hot Questions
Related Tags

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors