Java Swing application to upload files to FTP server with progress bar

Overview

Java Swing application to upload files to FTP server with progress bar

Swing-based application that uploads files from local computer to a remote FTP server. The application looks like this.

enter image description here

The following diagram describes workflow of the application:

enter image description here

The Swing client application connects to the server via FTP protocol to transfer files. The FTP library to be used is Apache Commons Net.

The following class diagram depicts how the application is designed:

enter image description here

The main classes are:

    • FTPUtility: implements FTP file upload functionality.
    • UploadTask: executes the file upload task in a background thread other than the Swing’s event dispatcher thread (EDT), so the GUI won’t become freezing.
    • SwingFileUploadFTP: assembles user interface of the application. It allows users to specify FTP server information (host, port, username, password and upload destination), choose a file to be uploaded. It shows a progress bar while the upload is taking place.

For the classes JFilePicker and FileTypeFilter, its source code can be obtained from article File picker component in Swing. The FTPException is a custom exception class.

You might also like...

Swing (Java) Practicing.

Getting Started Welcome to the VS Code Java world. Here is a guideline to help you get started to write Java code in Visual Studio Code. Folder Struct

Nov 3, 2022

An advanced KeyListener for Java Swing UI.

keystrokelistener An advanced KeyListener for Java Swing UI. In Swing, We don't have any default way of mapping a set of KeyStrokes to a specific task

Jan 22, 2022

This is a clone of Mircosoft Paint that uses Java and its javax.swing library

This is a clone of Mircosoft Paint that uses Java and its javax.swing library

PaintClone This is a clone of Mircosoft Paint that uses Java and its javax.swing library You are able to select a RBG colors and creates a pallet of t

Feb 17, 2022

Java Desktop (JavaFX and Swing) Component Inspector

Java Desktop (JavaFX and Swing) Component Inspector

Java Desktop (JavaFX and Swing) Component Inspector A Tool for help you to inspect the location and properties of certain components in a window hiera

Oct 28, 2022

Yet another very simple java 3D software renderer using only standard 2D libraries (Java2D, AWT & Swing). Video: https://youtu.be/hWUX1t9f6zE

Yet another very simple java 3D software renderer using only standard 2D libraries (Java2D, AWT & Swing). Video: https://youtu.be/hWUX1t9f6zE

Another very simple 3D software renderer Another very simple 3D software renderer implemented in java using only standard libraries (java 2D, AWT & Sw

Oct 17, 2022

Control a VNC server from a Minecraft server today!

Control a VNC server from a Minecraft server today!

MakiDesktop 📺 Controlling VNC through a Minecraft server How does it work Load jar plugin onto 1.17.1 Paper server It will connect to IP:PORT specifi

May 1, 2022

A low intrusive, configurable android library that converts layout XML files into Java code to improve performance

qxml English 一个低侵入,可配置的 Android 库,用于将 layout xml 文件转换为 Java 代码以提高性能。 与X2C的对比 X2C: 使用注解处理器生成View类,使用时需要在类中添加注解,并替换setContentView方法,侵入性较强; 对于布局属性的支持不够完美

Oct 6, 2022

An image annotation desktop-application written in Java using the JavaFX application platform.

An image annotation desktop-application written in Java using the JavaFX application platform.

This is an image annotation desktop-application written in Java using the JavaFX application platform. It allows you to create bounding box annotations using rectangular and polygonal shapes. Annotations can be imported and saved from/to JSON files, Pascal VOC format XML-files or YOLO format TXT-files.

Dec 4, 2022

A simple desktop application with minimalistic UI capable of maintaining a file based database of movies presenting the opportunity of adding and transferring movies for production companies using a TCP client-server architecture.

A simple desktop application with minimalistic UI capable of maintaining a file based database of movies presenting the opportunity of adding and transferring movies for production companies using a TCP client-server architecture.

MovieMania-2022-JavaFX-Term-Project-L1T2 A simple desktop application with minimalistic UI capable of maintaining a file based database of movies pres

Oct 21, 2022
Owner
Aditya Deshmukh
I am full stack dev looking to solve real world problems. I have a passion for learning and sharing my knowledge with others as publicly as possible.
Aditya Deshmukh
A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.

⚡ A powerful & easy to use chart library for Android ⚡ Charts is the iOS version of this library Table of Contents Quick Start Gradle Maven Documentat

Philipp Jahoda 36k Jan 9, 2023
Everything I code in java / Learn in Java I will post here to show my Progress :)

This repository contains all the codee i have written or used to help me learn This is going to be a repository that holds the source files for codene

unofficialdxnny 2 Jan 10, 2022
A library for JavaFX that gives you the ability to show progress on the Windows taskbar.

A clean and easy way to implement this amazing native Windows taskbar-progressbar functionality in javaFX Background Since Windows 7 there is a taskba

Daniel Gyoerffy 77 Nov 28, 2022
A 3D chart library for Java applications (JavaFX, Swing or server-side).

Orson Charts (C)opyright 2013-2020, by Object Refinery Limited. All rights reserved. Version 2.0, 15 March 2020. Overview Orson Charts is a 3D chart l

David Gilbert 96 Sep 27, 2022
A 2D chart library for Java applications (JavaFX, Swing or server-side).

JFreeChart Version 2.0.0, not yet released. Overview JFreeChart is a comprehensive free chart library for the Java(tm) platform that can be used on th

David Gilbert 946 Jan 5, 2023
A maven plugin to include features from jmeter-plugins.org for JMeterPluginsCMD Command Line Tool to create graphs, export csv files from jmeter result files and Filter Result tool.

jmeter-graph-tool-maven-plugin A maven plugin to create graphs using the JMeter Plugins CMDRunner from JMeter result files (*.jtl or *.csv) or using F

Vincent DABURON 6 Nov 3, 2022
A hotel management system desktop application, built with java SWT/Swing

A hotel management system desktop application, built with java SWT/Swing, with tabs to manage bookings, rooms, customers, payments, cancellations, hotel inventory orders, catering and a plan to visualize all the reservations for the month.

null 1 Jan 12, 2022
A cross-platform interface for FutureRestore, written in Java with Swing

Futurerestore GUI A GUI implementation for FutureRestore written in Java. Installation Download from releases. No Java download required (it's bundled

null 428 Dec 30, 2022
Tictactoe in java swing

TicTacToe A Tictactoe game in java swing Playing You can play with your friend or computer but currently compuer is implemented as Random, In future m

Sri lakshmi kanthan P 3 May 25, 2021
Jogo da cobrinha feito em java swing.

Jogo da Cobrinha Introdução Esse é o classico jogo da cobrinha. v1.0.0 Como configurar Pre-requisitos Java 11, Maven; Procedimentos para rodar projeto

Rodrigo Guedelho 4 Dec 2, 2022