![]() ![]() ![]() This software is copyright (c) 2018 by Pavel Andryushin. LWP::UserAgent, JSON::XS, URI::Escape, IO::Socket::SSL, Encode, HTTP::Request, Carp, File::Basename AUTHORS path => Path to shared resource DEPENDENCE Die if error my $link = $cloud->shareResource(-path => '/Temp/') Share folder /Temp Weblink => '', # Weblink to resource, if resource shared path => Path to get file list (default: '/') Die on error my $list = $cloud->listFiles(-path => '/') #Get list files and folder in path '/' Return struct (arrayref) of files and folders. Die on error $cloud->emptyTrash() listFiles(%opt) path => Path to delete resource emptyTrash()Įmpty trash on. Die on error $cloud->deleteResource(-path => '/Temp/test.txt') #Delete file '/Temp/test.txt' from cloud folder => Path to folder on cloud deleteResource(%opt)ĭelete file/folder from. Die on error $cloud->creteFolder(-folder => '/Temp/test') Return 1 if success, undef if folder exists. file => Path to local destination createFolder(%opt)Ĭreate recursive folder on. Die if error my $local_file = $cloud->downloadFile(-cloud_file => '/Temp/test', -file => 'test') Return full file name on local disk if success. My $hash = $cloud->get_last_uploaded_file_hash() || die "Can't get file hash" downloadFile(%opt)ĭownload file from to local file. rename => Rename file if exists (default: overwrite exists file) Die on error my $uploaded_name = $cloud->uploadFile(-file => 'Temp.png') Return full file name on cloud if success. Print "Used_space: $info->\n" uploadFile(%opt) Return hashref to info with keys: used_space, total_space, file_size_limit my $info = $cloud->info() || die "Can't get info" Die on error $cloud->login(-login => 'test', -password => '12345') Login on server.Return csrf token if success. rename => 1, # Rename file if exists (default: overwrite exists file) file => 'Temp.png', # Path to file on localhost #Upload file Temp.png to folder /folder on $cloud->login(-login => 'test', -password => '12345') or die "Cant login on " This is the same disk drive or flash card, only in a virtual form.Mailru::Cloud - Simple REST API cloud client VERSION version 0.10 SYNOPSYS use Mailru::Cloud Cloud Server is a model of online storage with the ability to access files without additional installation of any application. Types of cloud services Google Drive Яндекс Диск Dropbox Box SugarSync Cloud server- online store. Obvious examples of cloud services are, for example: Skype, which provides users with remote instant messaging, video conferencing and IP- telephony Google Mail, provides users with e-mail Microsoft SkyDrive, which offers offsite file storage. These services can be virtualized servers, email servers, IP-telephony, remote terminal servers. Now under the cloud computing refers to the use of remote computing resources software and hardware platform hosting- provider or supplier of cloud services. The concept of cloud computing is relatively new, and expand the concept of web hosting. The most vivid example of cloud service is web-site hosting or electronic mail. Cloud services - IT services is received from outside the company. An increasing number of staff, the head can both connect to the cloud service employees and disable inactive users Briefly definitions: Cloud technology - a data-processing technology, in which computing resources are provided to the user as the online Internet service, one big concept that includes many different concepts of service providers. Cloud technologies offer new opportunities to connect remote and seasonal workers. It is enough to have any device that can connect to the Internet, and you can access a remote database, which is located on a remote server. Guidelines for the Implementation 1.1 The theoretical part Cloud technologies provide consumers with solutions completely ready for operation. As a development tool use : yandex, gmail, and others. Task to perform - to analyze the cloud file storage services and explore the possibilities of each service. Report on the implementation of laboratory work №11" Cloud file storage services." The aim laboratory work - learn to use cloud-based file storage services for the organization of joint work with the data and to ensure the availability of relevant information on any device.
0 Comments
Leave a Reply. |