Professional Documents
Culture Documents
Areview Remotefilemanagerfor Androidplatformusing FTP4 Android
Areview Remotefilemanagerfor Androidplatformusing FTP4 Android
net/publication/261419455
CITATIONS READS
0 769
4 authors:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Dr. Amit Sinhal on 18 June 2016.
Abstract-- In today's era it is common to handle any type of file by FTP copies a complete file from one system to another
with the personal computer. The introduction of mobile device
system. To use FTP we need an account to login to on the
makes a huge revolution in the field of computer. Unfortunately,
the storage capacity of these devices is limited; it may hence be server, or we need to use it with a server that allows
useful to have the possibility to store the files on the web and
anonymous FTP.
retrieve them at anytime and anywhere. To satisfy this need,
FTP4Android is available, but this protocol having some The aim of the application is to provide Smartphone users
drawbacks. Our aim is to overcome that problem. Our solution with a virtually infinite mass storage. This file manager
provides enhancement to the FTP4Android by overcoming their
drawback. In this dissertation work we proposed the presents files located on remote servers as they were available
compression technique which will be use to increase the speed of on a local directory. Users will hence be allowed to use the
transmission. Also we provide solution over inconsistency and
security. With this enhancement Smartphone users will Internet connectivity on their smart phone's to automatically
smoothly transfer process both in upload and download, parallel retrieve files and upload updates any time a user accesses
transmissions to/from different servers are performed.
them [4] [5]. Clearly this happens at the cost of slower access
Keyword:-FTP4, FTP, GP Zip, NFS, Android time.
NFS (Sun's Network File System).The file transfer provided This layer will also use in Enhanced FTP4Android. It will
FTP4Android is software developed in Java for Google files and folders. Moreover, it is also configured so as to
Android platform [6]. The application has a list of FTP employ certain remote FTP servers; however, others may be
servers and the user must have access to them. It establishes specified. General FTP servers can be used; the aim is that of
connections to the servers in order to transfer the files. allowing users to utilize their account which are generally
provided for free by Internet providers. The only limitation is
For each available server, at least two connections will be
that chosen FTP servers must allow at least two simultaneous
established by each Enhanced FTP4Android client: one is
connections (which is generally, even if not always, true).
reserved for the delete and create directory operations. This
FTP Server.
reserved connection is useful to ensure that these operations
Before starting to illustrate the application, it is
can be performed quickly. The rest of the connections
essential to understand some basic features of FTP servers. In
available will be use to upload and download files. For
order to interact with a FTP server, our application must
managing and browsing the (local and remote) file system a
know the following information:
database will be use.
II. LITERATURE SURVEY besides the obvious limit of storage capacity on the server,
there may be other restrictions such as the maximum number
Simple description of basic functionalities implemented
of simultaneous connections allowed for the same user.
by FTP4Android can be provided with the help of Fig. 2. In
Upload a file - By uploading a file, its chunks are created.
Then, an upload thread is generated for each chunk; this
thread performs the upload of the chunk on the first available
connection to a server. The allocation of a chunk to a server is
non-deterministic: by repeating the upload of the same file,
the various chunks will probably not be assigned to the same
server. If the uploaded file already existed in the remote file
system then the old version is removed.
Fig 2: FTP4Android general functioning Delete a file or a directory - Starting from the file/directory
Moreover there may be a maximum time of inactivity selected by a user, the FTP4Android application retrieves all
(timeout) beyond which the server does not accept anymore the information related with it (e.g., number of chunks and
FTP commands from the same user. their location on remote servers). Then, for each FTP server, a
deleting thread is generated so as to erase the interested
For its correct functioning, FTP4Android must be aware
chunks in it.
of these parameters and act accordingly while interacting with
the chosen remote FTP servers. III. PROBLEM ANALYSIS
K. Jegers, M. Wiberg,[3] suggested that, Operations The FTP4Android suffers from the problem like Delays in
available in FTP4Android can obviously be performed use of internet connectivity. Here, full bandwidth is not
simultaneously, thanks to Java concurrency. These utilized. It is not possible to fully exploit the whole bandwidth
operations, that can be performed both in remote and local available in uploading and downloading. Hence there is need
file system, include: to improve the performance of FTP4Andorid by exploit the
• upload a file operation. So, the user has to wait until the response is
use of internet connectivity. Here, full bandwidth is not To make some progress on turning this idea we will use a
utilized. Through the use of multiple active threads it is general purpose compression method, to find optimal ways to
possible to fully exploit the whole bandwidth available in combine standard compression algorithms for maximally and
uploading and downloading. When the number of active lossless compressing files and archives. The system divides
threads is greater than the total number of connections files into blocks of predefined length. It then uses a linear,
available the transfer time tends to stabilize and there is no fixed-length representation where each primitive indicates
advantage in increasing further number of active threads then what compression algorithm to use for a specific data block.
channel is fully utilized. GP-zip uses a form of "divide and conquer" strategy. Each
As shown in the figure3, enhance FTP4Android will member of the function set performs well when it works in
provide another way to improve the speed by compression of the circumstances that it has been designed for. Dividing the
data. With the compression the size of data is reduced and given data into smaller blocks makes the creation and
therefore the same bandwidth will send maximum data in identification of such circumstances easier.
same time period. Package java.util.zip- Provides classes for reading and
Over the past decade or two many techniques have been writing the standard ZIP and GZIP file formats. It Provides
developed for data compression, each of which has their own classes for reading and writing the standard ZIP and GZIP file
particular advantages and disadvantages. One of the factors formats. Also includes classes for compressing and
that help in developing an efficient data compression model is decompressing data using the DEFLATE compression
the availability of prior knowledge on the domain of the data algorithm, which is used by the ZIP and GZIP file formats.
to be compressed. For these reasons, specialized compression Additionally, there are utility classes for computing the CRC-
techniques can be used to compress data and send over 32 and Adler-32 checksums of arbitrary input streams.
wireless network. An ideal compression system would be one Furthermore in dividing files in chunks before forwarding
that is able to identify incompatible data fragments (both the them to remote servers is that in this way a user can choose
file level and within each file) in an archive, and to allocate different servers belonging to different providers and none of
the best possible compression model for each, in such a way them will have all the chunks to put together the original file.
to minimize the total size of the compressed version of the In this way, users' contents will not be accessible by other
archive. people thus providing some privacy protection.
We will test the time required to upload, download, or [11] A. Karlson, G. Smith, B. Meyers, G. Robertson, M. Czerwinski,
"Courier: A Collaborative Phone-Based File Exchange System",
delete a file in the remote file system, when varying the Microsoft Research Technical Report MSRTR-2008-05, 2008.
[12] Ahmad Kattan Riccardo Poli "Evolutionary Lossless Compression with
number of active threads & varying the number of chunks GP-ZIP*", GECCO'08, July 12-16,2008, Atlanta, Georgia, USA, Jul
2008.
into which the file is divided.
[13] Android implementation code available on
http://seminarprojects.com/s/ftp4-android-implementation
v. CONCLUSION [14] Use of FTP4 to android application available on:
http://stackoverflow.com/question/I5163094/how-to-use-ftp4-j-to-
The epidemic diffusion of Smartphone has download-a-file-from-my-sever-in-android-app
profoundly changed our habits, moving the Web and all our
favorite applications from our pes and notebooks to our
handheld mobile devices. New ubiquitously available,
location-based applications are now becoming available
offering unprecedented potentialities for entertainment
applications.
REFERENCES
[1] C. E. Palazzi, Marco Ferrarese "FTP4Android: A Local/Remote File
Manager for Google Android Platform" in 3rd IEEE International
Workshop on Digital Entertainment, Networked Virtual Environments,
and Creative Technology, may 2011.
[2] C. E. Palazzi, L. Teodori, M. Roccetti "PATH 2.0: A Participatory
System for the Generation of Accessible Routes", in Proc. of the IEEE
International Conference on Multimedia and Expo (ICME'10),
Singapore, JuI20IO.
[3] K. Jegers, M. Wiberg, "Pervasive Gaming in the Everyday World",
Pervasive Computing, IEEE, vol. 5, no. 1, pp. 78-85, Jan-Mar 2006.
[4] A. Karypidis, S. Lalis, "OmniStore: A System for Ubiquitous Personal
Storage Management", in Proc. of IEEE PerCom 2006, Pisa, Italy, Mar
2006.
[5] 1. Tolvanen, T. Suihko, 1. Lipasti, N. Asokan, "Remote Storage for
Mobile Devices", in Proc. of Comsware 2006, New Delhi, India, Aug
2006.
[6] http://developer.android.com/sdk/I.O_rl/index.html
[7] http://www.sauronsoftware.it/proj ects/ftp4j/?Iang=en
[8] G. Madia, P. Lutterotti, S. Eidenbenz, G. Pau, M. Gerla, "Fair Multi-
Media Streaming in Ad Hoc Networks through Local Congestion
Control", Proc. MSWIM'08, Vancouver, Canada, Oct 2008.
[9] S. Ferretti, M. Roccetti, "Fast Delivery of Game Events with an
Optimistic Synchronization Mechanism in Massive Multiplayer Online
Games", Proc. ACM ACE 2005, Valencia, Spain, Jun 2005.
[10] G. Madia, G. Pau, P. Di Rico, M. Gerla, "P2P Streaming Systems: A
Survey and Experiments", 3rd STMicroelectronics STreaming Day
(STreaming Day'07), Genoa, Italy, Sep 2007.