Net::FS::Gmail

Net::FS::Gmail can store and retrieve files on Gmail.
Download

Net::FS::Gmail Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Simon Wistow
  • Publisher web site:
  • http://search.cpan.org/~simonw/

Net::FS::Gmail Tags


Net::FS::Gmail Description

Net::FS::Gmail can store and retrieve files on Gmail. SYNOPSIS my $fs = Net::FS::Gmail->new( username => $user, password => $pass ); $fs->store("file.txt"); $fs->store("piccy.jpg", "renamed_piccy.jpg"); open (FILE, ">output.jpg") || die "Couldn't write to file: $!n"; binmode (FILE); print FILE $fs->retrieve("renamed_piccy.jpg"); close (FILE);METHODSnewTakes the same options as Mail::Webmail::Gmailstore < filename > Store the file < filename > on Gmail. If a second filename is given then use that as the name on GMailretrieve < filename > Get < filename > from Gmail.If the file has multiple versions then you can pass in a version number to get version - 1 being the oldest. If you don't pass in a version then you get the latest.versions < filename >Returns a list of all the versions of a fileEach item on the list is a hashref containing the date the file was saved and the id of that version using the keys timestamp and id respectively.The list is sorted, latest version first.filesGet a list of all the files on the systemdelete < file > Delete a file. If you pass a version number than only delete that version.remove < file > The same as remove except that the file is merely moved to the trash.quotaGet your current remaining quota, just like in Mail::Webmail::Gmail i.e returns a scalar with the amount of MB remaining in you account.If called in list context, returns an array as follows: Requirements: · Perl


Net::FS::Gmail Related Software