Login   Register  
PHP Classes
elePHPant
Icontem

Problem with file download

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Samba Web Client  >  All threads  >  Problem with file download  >  (Un) Subscribe thread alerts  
Subject:Problem with file download
Summary:while downloading a single file, the dimension is 0 byte
Messages:4
Author:DonLimo
Date:2013-01-04 01:19:26
Update:2014-03-13 07:26:32
 

  1. Problem with file download   Reply   Report abuse  
Picture of DonLimo
DonLimo
2013-01-04 01:19:26
Hi,
I have a problem with file download. If I try to download a single file, I get it with a 0 byte dimension. If I download the entire folder (zipped), I can read the content of the files.
Any suggestion?

Thanks in advance

  2. Re: Problem with file download   Reply   Report abuse  
Picture of DonLimo
DonLimo
2013-01-04 01:23:53 - In reply to message 1 from DonLimo
I forgot to say that I'm using 2.9.1b version of smbwebclient running on apache 2.2 and debian 6.0.6

  3. Re: Problem with file download   Reply   Report abuse  
Picture of DonLimo
DonLimo
2013-01-09 22:47:45 - In reply to message 2 from DonLimo
I solved the problem changing line 1419.

before:
$this->_SmbClient('get "'.$this->name.'" \"-\" "', $this->parent, '', true);

after:
$this->_SmbClient('get "'.$this->name.'" - "', $this->parent, '', true);

  4. Re: Problem with file download   Reply   Report abuse  
Picture of Alexey
Alexey
2014-03-13 07:26:32 - In reply to message 3 from DonLimo
Don,
Many thanks, your workaround really works!
Also I found another issue - I'm getting err 500 when I try to zip folder and get it. Did you succeed to overcome this issue as well?