search for: send_files

Displaying 20 results from an estimated 354 matches for "send_files".

2003 Jan 23
2
send_files failed to open filename ...
Hi everybody, I'm mirroring some websites with rsync (daemon on the source), and I noticed in the destination host some error messages 'send_files failed to open filenames', Actually, the concerned files are deleted on the source host, but I would like to ask : * why does rsync say these (in which phase) ? * is these messages harmful or not ? Here below my rsync command and some of the error messages : rsync --delete -zrv --bwlimit=...
2017 Sep 21
1
Public mirror synchronization failing
Hello, Our CentOS public mirror synchronization is failing since yesterday, with the log files showing the following "Permission denied" messages. It seems that my server is not able to access some of the files; any leads on to how to resolve it? rsync: send_files failed to open "/7.4.1708/atomic/x86_64/repo/tmp/tmp.3PYmPD" (in centos): Permission denied (13) rsync: send_files failed to open "/7.4.1708/atomic/x86_64/repo/tmp/tmp.7ryULv" (in centos): Permission denied (13) rsync: send_files failed to open "/7.4.1708/atomic/x86_64...
2005 Jul 07
1
rsync 2.6.4 - directory always updated
Hi, I'm trying to figure out why when I do an rsync (Solaris, version 2.6.4 on both sides) from a site on the West Coast of the US to a site on the East coast, I keep getting directories updated when I use the command like this: # rsync -ar -v -v -i -O --force --delete --exclude=.snapshot --stats \ src:/sysic/lib/freedomlib_V100/ /sysic/lib/freedomlib_V100/ And I get output like this,
2009 May 15
1
rsync creates file twice
.../ mode=040755 len=20480 uid=0 gid=0 flags=40 recv_file_list done get_local_name count=2 /volume1/tmp/rsync_4 created directory /volume1/tmp/rsync_4 recv_files(1) starting [sender] flist start=3, used=1, low=0, high=0 [sender] i=3 <NULL> /usr/include/ mode=040755 len=20480 uid=0 gid=0 flags=40 send_files starting [receiver] receiving flist for dir 1 [sender] make_file(/usr/include/fltk-1.1,*,2) [sender] flist start=5, used=1, low=0, high=0 [sender] i=5 <NULL> /usr/include/fltk-1.1/ mode=040755 len=4096 uid=0 gid=0 flags=5 [receiver] receiving flist for dir 2 [sender] make_file(/usr/include/fl...
2006 Aug 08
2
send_file problem
I''m attempting to use send_file to send an image file from public/images. The file is world readable. I keep getting the following error: A ActionController::MissingFile occurred in account#current_logo: Cannot read file public/images/logo.png /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/streaming.rb:55:in `send_file'' I''ve tried supplying
2002 Oct 18
0
exit status help
...looks like it reflects the errors. Any ideas? I'm using version 2.5.5 on Solaris 7 and 8. Thanks much for Rsync, its been great! And thanks for the help! Todd = [ xhowardt @ dcit ] /opt/open/rsync/2.5.5/bin/rsync --port=874 --archive dcit.dal.design.ti.com::lotools-1/ /tmp/ame/lotools-1 send_files failed to open //bin/add_punchindex: Permission denied send_files failed to open //bin/find_platform_exec: Permission denied send_files failed to open //bin/fix_netlist: Permission denied send_files failed to open //bin/remove_punchindex: Permission denied send_files failed to open //bin/spice3_com...
2006 Nov 30
3
Strange send_file problem
Or perhaps I am stumbling in newbie fashion (tho I have active_merchant and a store site basically up and running in development mode - still I don''t feel I always understand what is going on.) So, when I have send_file(filename, :type => ''application/x-zip'') redirect :action => index the send_file seems to hang, rather than complete. I''m deducing
2008 Apr 30
2
rsync copying over existing files
...to local folder: [client] add_rule(- *:*) sending incremental file list [sender] make_file(backup,*,2) send_file_list done [sender] make_file(backup/EDC3.1.4.dmg.zip,*,2) [sender] make_file(backup/SLES-10-x86-CD1.iso,*,2) [sender] make_file(backup/stage2.img,*,2) [sender] make_file(backup/wget,*,2) send_files starting server_recv(2) starting pid=14511 recv_file_name(backup) received 1 names recv_file_list done recv_file_name(backup/EDC3.1.4.dmg.zip) recv_file_name(backup/SLES-10-x86-CD1.iso) recv_file_name(backup/stage2.img) recv_file_name(backup/wget) received 4 names recv_file_list done get_local_name...
2006 May 14
3
send_file and locking files after download?
Hello, I''m working on a download service which grants users a one-time-download access to files. The idea is to write an entry to a database table after a successful download that "locks" the download link for the user. After doing some quick tests with send_file I noticed that send_file does not block until the user has downloaded the full file, but proceeds with the
2005 Dec 13
3
send_file doesn't work with Apache?...
Hi, I''ve been using send_file in my Rails application with WEBrick happily to send files of various sizes and kinds. The same code fails to send anything but a 500 error when run under Apache, and a log file message "warning: syswrite for buffered IO". Looking back through the mailing list archives I see that there have been send_file bugs in the past. Can some knowledgeable
2007 Apr 23
4
send_file pdf problem
Hi, I am using send_file to allow users to download files from my website, please see code beloe: def download_document send_file("#{RAILS_ROOT}/public/test_form.pdf", :filename => "test.pdf", :type => ''application/pdf'', :disposition => ''attachment'', :streaming
2018 Dec 30
2
--partial does not "unhide" the files
...sending incremental file list [sender] change_dir(/home/heiko/Pictures) [sender] make_file(x,*,0) [sender] flist start=1, used=1, low=0, high=0 [sender] i=1 . x mode=0100644 len=0 uid=1000 gid=1000 flags=1005 send_file_list done [sender] flist_eof=1 file list sent send_files starting server_recv(2) starting pid=21983 uid 1000(heiko) maps to 1000 gid 1000(heiko) maps to 1000 recv_file_name(x) received 1 names [Receiver] flist start=1, used=1, low=0, high=0 [Receiver] i=1 1 x mode=0100644 len=0 uid=1000 gid=1000 flags=1000 recv_file_list d...
2006 Jan 12
2
ActionController#send_file
Looking at the code for ActionController#send_file I see that it is using ruby to send the file contents. Linux supports a sendfile() OS call. The implementation of Linux sendfile() is extremely fast and very CPU efficient, far faster than what can be done in user space. Does Windows support a sendfile() equivalent call? I haven''t been working with ruby long enough to know how it handles
2007 Feb 22
0
error with send_file.. please help me...
Ben wrote: > API is your friend. > http://api.rubyonrails.org/classes/ActionController/Streaming.html#M000091 > send_file I put this code block in files_controller.rb def send_file(path, options = {}) #:doc: raise MissingFile, "Cannot read file #{path}" unless File.file?(path) and File.readable?(path) options[:length] ||= File.size(path)
2007 Aug 27
1
Send_file() method for downloading any file
HI, I need to know how to download any file using send_file() method.The code I have shown below is for a specific file........how ever I need it for any file. THE CODE ........ def download_files send_file(''D:/hr/Handbook.doc'', :filename => params[:filename] , :type => ''application/octet-stream'',
2006 Dec 21
6
Rails'' send_file, Mongrel, and *gasp* memory
I''ve had a right fun few days at work trying to figure out why our Rails app (which isn''t under very heavy load) kept eating memory and bringing our server to our knees. Eventually I traced it to send_file (which was in a way a relief as it wasn''t down to my coding ;) -- every time a user started downloading, the memory consumed by the app would jump, and
2009 Mar 26
2
Deleting files after they are sent via send_file
Hello guys, I am having the option to download certain folders on my app in zip format. So every time a user requests one I''m doing a system call to zip the folder (ex: system(''cd ''+path+'' && zip ...) and then the send_file method to send it. What happens is that I''m keeping track of disk space so I need to delete the zip immediately. I was
2010 Oct 30
1
osx remote backup wrong permissions
...had permission denied errors. The output on my test folder show nothing remarkable, no errors, etc. Am I missing something here? Any thoughts appreciated or directions to look in. Thanks, Rob delta-transmission enabled recv_files(1) starting recv_generator(audit,1) recv_generator(audit,2) send_files(2, /private/var/audit) audit/ set modtime of audit to (1288417603) Sat Oct 30 01:46:43 2010 recv_generator(audit/20100701144405.20100702030039,3) send_files(3, /private/var/audit/20100701144405.20100702030039) send_files mapped /private/var/audit/20100701144405.20100702030039 of size 21066 calling...
2018 Dec 31
2
--partial does not "unhide" the files
...md[6]=/tmp/y +opening connection using: ssh localhost rsync --server -vvvve.LsfxC . /tmp/y (7 args) msg checking charset: UTF-8 (Client) Protocol versions: remote=31, negotiated=31 [sender] make_file(x,*,0) @@ -10,7 +10,7 @@ [sender] flist_eof=1 file list sent send_files starting -server_recv(2) starting pid=16534 +server_recv(2) starting pid=18896 recv_file_name(x) received 1 names [Receiver] flist_eof=1 @@ -18,7 +18,7 @@ [Receiver] i=0 1 x mode=0100644 len=0 flags=1000 recv_file_list done get_local_name count=1 /tmp/y...
2007 Aug 27
2
send_file : downloaded file cannot be open after upload OK
I easily implemented the upload , using the ''attachment_fu'' plugin... I can see and open the uploaded files (a pdf file 60k and a jpeg images 28k) now I try to implement the download action in my document_controller, I wrote : def download @document = Document.find(params[:id]) send_file(@document.full_filename, :filename =>