eyefi_receiver.rb `� p@V 0-|p@V #!/usr/bin/ruby # # Eye-fi receiver # -- An imcomplete implementation of Gallery Remote Protocol Server # by SHIDARA Yoji <dara@shidara.net> # # see http://codex.gallery2.org/Gallery_Remote:Protocol # require 'fileutils' require 'sinatra' GR_STAT_SUCCESS=0 UNKNOWN_CMD=301 def file_received(tempfile, filename, uname) dest_path = [Time.now.strftime("%Y%m%d-%H%M%S"), u
{{#tags}}- {{label}}
{{/tags}}