Web-BasedWeb-BasedFTPFTP
AgendaAgenda• FTP (File Transfer Protocol)• Types of FTP• Other Protocols• Drawbacks of other Protocols• Current Scenario• Problem Statement• Introduction• Proposed Solution• Block Diagram• Technical Implementation• Hardware & Software Requirements• Benefits / Advantages• Features• Future Development• Application• Advantages of ASP.NET• Technical Diagrams
FTP (File Transfer FTP (File Transfer Protocol)Protocol)• A standard network protocol• Used to copy a file from one host to
another• Built on a client-server architecture• Utilizes separate control and data
connections between the client and server
• FTP URL syntax is taking the form:ftp://[<user>[:<password>]@]<host>[:<port>]/<url-
path>
Types of FTPTypes of FTP
1. Active FTP2. Passive FTP
Other ProtocolsOther ProtocolsTCP (Transmission Control Protocol)HTTP (Hypertext Transfer Protocol)POP (Post Office Protocol)UDP (User Datagram Protocol)IMAP (Internet Message Access
Protocol)
Drawbacks of other ProtocolsDrawbacks of other Protocols
The disadvantages lie in the power when it comes to file uploading.
Also, a programmer needs to have the knowledge required to create the form in HTML, in order to upload the file in question.
A user cannot use a program to perform a mass upload to a server.
Downloads cannot be done on masses as well.
Current ScenarioCurrent Scenario• We need to install a client tool to
access data from an FTP server on every machine that we use.
• These tools have limited functionality when it comes to handling FTP server data.
• Multiple connections cannot be established using a single tool, you need to open multiple instances of the tool to access multiple accounts.
Problem StatementProblem Statement• Currently we need to install a client tool to access
data from an FTP server on every machine that we use. Also multiple connections cannot be established using a single tool, you need to open multiple instances of the tool to access multiple accounts. To overcome these limitations we have developed an innovative solution to handle these common problems. As an alternative to the client tool we have developed a web based interface to handle FTP server data which can be accessed from a simple web browser any where across the globe. Also the web interface provides a connection to multiple FTP servers simultaneously. Also our solution provides users to maintain multiple FTP accounts.
IntroductionIntroduction• Web Based FTP can be used to
upload, download, view, delete and maintain user accounts on a FTP server via a simple browser.
• Web Based FTP can handle multiple FTP connections simultaneously.
• Web Based FTP is a new innovation where in you take your FTP client tool to the web and can use it where ever you want.
Proposed SolutionProposed Solution• Developing a website that would be
able to connect to a FTP server and maintain data on it.
• Single sign on access to all your servers.
• Also provide connection to multiple FTP servers.
• Support all kinds of browser.• Maintain multiple FTP accounts.
Block DiagramBlock Diagram
UserAccess the website via
web-browser
Processing done at
server end
Maintaining user accountsEstablish
ConnectionDirectory Listing
File DeleteDownload Files
Upload FilesMake Directory
Web site Offers
Technical ImplementationTechnical Implementation• The Web Based FTP will be developed on
.NET platform.• .NET platform is developed by Microsoft.• .NET is language independent platform.• It supports 4 native and 21 third part
languages.• Native languages: C#, J#, VB, VC++.• Third Party languages: Perl, ruby on rails
etc.• Web Based FTP will be developed using
C#.
Hardware & Software Hardware & Software RequirementsRequirementso Hardware• Pentium IV or above Processor• 256 MB RAM• 20GB HDD• Access credentials of FTP server
o Software• Windows 2000/Windows XP/Windows Vista/ Windows 7• .NET Framework 3.5• Microsoft Visual Studio 2008• Web Browser
BenefitsBenefits• Can be accessed from anywhere
across the globe.• No need of installations.• Can manage multiple FTP accounts.• Single sign on access to your
account.• Any browser compatible.• Provides facilities to establish
connection, provide directory listing, delete files, download files, upload files & make directory.
FeaturesFeatures• Maintain user accounts• Establish Connection• Directory Listing• File Delete• Download Files• Upload Files• Make Directory
Future DevelopmentsFuture Developments• Enhancement to the website for
drag and drop facility to upload and download.
• Online Desktop type UI to give the users a rich feel to the website.
• Ability to read all the contents directly without the need for downloading.
ApplicationApplication• Online handling of FTP server.• Since its web-based it can eliminate
the need to install FTP client tools.• Simultaneous multiple FTP
connections.• It can be used to establish
connection, provide directory listing, delete files, download files, upload files & make directory.
Advantages of choosing Advantages of choosing ASP.NETASP.NET• Powerful database-driven
functionality• Faster web applications• Memory leak and crash
protection• Multiple language support
Level 0 Data Flow Level 0 Data Flow DiagramDiagram
useruser Web based FTP websiteWeb based FTP websiteuser details
services
Level 1 Data Flow Level 1 Data Flow DiagramDiagram
unregistered user
unregistered user registrationregistration
user id and password
user details
userDBuserDB
registered user
registered user
user registered
Dvalidate and update
registered userregistered user authentication
authentication login failedlogin failedlogin faileduser id and password
avail servicesavail services
logoutauthentication successful
verify
read and write
Level 2 Data Flow Diagram Level 2 Data Flow Diagram for Authenticationfor Authentication
useruser authentication processauthentication processlogin details process user id
and passwordprocess user id and password
user id & password
userDBuserDBD
check user id & password
Level 2 Data Flow Diagram Level 2 Data Flow Diagram for Establishing Connectionfor Establishing Connection
useruser connection processconnection processlogin details
connection establishedconnection established
server ip, password &port no
userDBuserDBD
conn response
Three tier system Three tier system architecturearchitecture
ClientClientRequestRequest
ResponseResponse
FTP ServerFTP Server
DatabaseDatabase
Application ServerApplication Server
Tier 1 GUI presentation Tier 1 GUI presentation Tier 2 Application LogicTier 2 Application Logic Tier 3 Database LayerTier 3 Database Layer
Deployment DiagramDeployment Diagram
Presentation LayerPresentation Layer
Database InterfaceDatabase Interface
Connection InterfaceConnection Interface
Database ServerDatabase Server
FTP ServerFTP Server
DatabaseDatabase
FTP ContentFTP Content
Web BrowserWeb Browser
Use Case DiagramUse Case Diagram
administratoruser
register
login
upload files
download files
file delete
establish connection
make directory
manage useraccounts
Sequence diagram for User Sequence diagram for User RegistrationRegistration
Sequence diagram for User Sequence diagram for User LoginLogin
Block diagram of Block diagram of WATERFALL MODELWATERFALL MODEL