S3Sync.net
February 02, 2014, 01:35:16 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: S3sync errors when using the '--progress' option on a single file  (Read 4187 times)
tkirby
Newbie
*
Posts: 6


View Profile
« on: September 19, 2007, 09:06:45 PM »

./s3sync.rb --progress /home/tkirby/html/avshare_old/media/1419.wmv chickenrancher:avshare/media/
Update node
Null stream error:
Skipping avshare/media/1419.wmv: undefined method `closed?' for nil:S3sync::ProgressStream
Logged
ferrix
Sr. Member
****
Posts: 363


(I am greg13070 on AWS forum)


View Profile
« Reply #1 on: September 19, 2007, 09:47:33 PM »

No one ever claimed s3sync could work for single files. Try s3cmd.
Logged
tkirby
Newbie
*
Posts: 6


View Profile
« Reply #2 on: September 19, 2007, 10:35:59 PM »

The error doesn't happen when I don't specify '--progress'. So it's not transferring my file?

Why a separate command to copy single files? It would be easy enough to stat the source path and determine which the user wants to transfer.
Logged
ferrix
Sr. Member
****
Posts: 363


(I am greg13070 on AWS forum)


View Profile
« Reply #3 on: September 20, 2007, 10:08:13 PM »

I just didn't ever special case the (already very "special") code to deal with single files.  s3cmd wasn't written specifically for that goal, it is just a thin command wrapper around s3.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!