Use-Case Specification: Upload File

advertisement
<FTPKiller>
<FTPFlyer>
Use-Case Specification: Upload File
Version <1.0>
<FTPFlyer>
Use-Case Specification: Upload File
<document identifier>
Version:
<1.0>
Date: <11/10/07>
Revision History
Date
Version
<08/10/2007>
Draft
<11/10/2007>
1.0
Confidential
Description
Initial Draft
Author
JIN, Qi
JIN, Qi
<FTPKiller>, 2016
Page 2
<FTPFlyer>
Use-Case Specification: Upload File
<document identifier>
Version:
<1.0>
Date: <11/10/07>
Table of Contents
1.
2.
3.
4.
Upload File
4
1.1
4
Brief Description
Flow of Events
4
2.1
2.2
4
4
4
4
4
4
5
Basic Flow
Alternative Flows
2.2.1 Pause Upload Process
2.2.2 Resume Upload Process
2.2.3 Stop Upload Process
2.2.4 Upload & Overwrite File
2.2.5 Remote Site Unavailable
Special Requirements
5
3.1
5
Reliability
Preconditions
5
4.1
4.2
5
5
Login FTP Site
Browse FTP Site
5.
Post Conditions
5
6.
Extension Points
5
Confidential
<FTPKiller>, 2016
Page 3
<FTPFlyer>
Use-Case Specification: Upload File
<document identifier>
Version:
<1.0>
Date: <11/10/07>
Use-Case Specification: Upload File
1.
Upload File
1.1
Brief Description
This use case allows a User to upload files to an FTP Site. The User can also stop the process
when the files are still transferring. When the User is trying to upload a file with an existed file name, the
system would warn the User.
The main actor of this use case is the User and The FTP Site.
2.
Flow of Events
2.1
Basic Flow
1. The User selects a file/directory on the Local File List Window
2. The User selects a destination directory on the FTP File Window
3. The User click “Upload” button
4. If the User uploads a file, then it will only upload the file. If the User uploads a directory, it will
upload all the subdirectories and files.
5. The system prompts the User the successful message with the number of uploaded files,
directories, and the average-speed.
2.2
Alternative Flows
2.2.1
Pause Upload Process
This activity will only happen when the system is uploading files.
1. The User clicks “Pause” button
2. The function of this button turns to be “Resume Transfer”.
3. The system pause the uploading process.
2.2.2
Resume Upload Process
This activity will only happen when the uploading is paused.
1. The User clicks “Resume” button
2. The function of this button turns to be “Pause”.
3. The system resumes the uploading process.
2.2.3
Stop Upload Process
This activity will only happen when system is uploading files or the uploading is paused.
1. The User clicks “Stop” button
2. The system stops the uploading process. The file on transfer will be saved on the FTP site
though it has not been fully uploaded.
3. The function of this button is then disabled (for there is no uploading process currently)
2.2.4
Upload & Overwrite File
1. The User selects a file/directory on the Local File List Window
2. The User selects a destination directory on the FTP File Windows
3. The User click “Upload” button
4. The system detects that there is already one or more file which has the same name with the
uploading file. The system prompts the User.
5. The User chooses to “Overwrite” the existed file or cancel the upload process.
6. If the User selects “Overwrite”, the system will upload the file (Redirect to 2.2.1). Else if the
User selects “Cancel”, the system will cancel the upload process.
Confidential
<FTPKiller>, 2016
Page 4
<FTPFlyer>
Use-Case Specification: Upload File
<document identifier>
Version:
<1.0>
Date: <11/10/07>
2.2.5
Remote Site Unavailable
If in the “Upload File” or “Resume Upload Process” sub-flow the system discovers that the remote
Site is unavailable for uploading now (maybe caused by Network errors or authorities settings), The system
will prompt the User and cancel the upload process.
3.
Special Requirements
3.1
Reliability
When transferring, the system can upload only a single file at a time.
4.
Preconditions
4.1
Login FTP Site
Before this use case begins the User has logged onto the FTP Site. (Verified by the FTP
administrator)
4.2
Browse FTP Site
Before this use case begins the User also has browsed the file on the FTP Site.
5.
Post Conditions
There are no post-conditions associated with this use case.
6.
Extension Points
There are no extension points associated with this use case.
Confidential
<FTPKiller>, 2016
Page 5
Download