chat eczaonline.com yazılım uzmanı gaziantep web tasarım

ssh da db yi yedeklemek.

Angelo

Onursal Üye
Katılım
13 Ara 2004
Mesajlar
9,603
Beğeniler
111
Yaş
37
Konum
AZ
#21
Yeah, the script reads the source file and write the target file. So its ok to have the source file as URL or path, no difference. But the target file must be a writeable path, not an HTTP connection.
 
Katılım
11 Mar 2008
Mesajlar
66
Beğeniler
0
#22
After making the changes it says this :

Warning: fopen(/mounted-storage/home90b/sub008/sc42254-ESFQ/www/tmp/http://desi-instincts.com/Games%20(Latest)%20(2007)/GtASa/GTA%20San%20Andreas.part01.exe.001) [function.fopen]: failed to open stream: No such file or directory in /mounted-storage/home90b/sub008/sc42254-ESFQ/www/filesplit.php on line 62
Splitting http://desi-instincts.com/Games (Latest) (2007)/GtASa/GTA San Andreas.part01.exe into 100 Mb files (last piece may be smaller in size) ...
/mounted-storage/home90b/sub008/sc42254-ESFQ/www/tmp/http://desi-instincts.com/Games%20(Latest)%20(2007)/GtASa/GTA%20San%20Andreas.part01.exe.001

Warning: fwrite(): supplied argument is not a valid stream resource in /mounted-storage/home90b/sub008/sc42254-ESFQ/www/filesplit.php on line 67
filesplit.php is unable to write to current folder.
I think it does not have write permission!
Try chmod +w folder
 

Angelo

Onursal Üye
Katılım
13 Ara 2004
Mesajlar
9,603
Beğeniler
111
Yaş
37
Konum
AZ
#23
Use this file.
On lines 63 and 78, i replaced $file with $filename.
 
Katılım
11 Mar 2008
Mesajlar
66
Beğeniler
0
#24
It worked and created a .001 file upto 56MB.... then it reported the following error :

Splitting http://desi-instincts.com/Games (Latest) (2007)/GtASa/GTA San Andreas.part01.exe into 100 Mb files (last piece may be smaller in size) ...
tmp/GTA-San-Andreas.part01.exe.001
tmp/http://desi-instincts.com/Games%20(Latest)%20(2007)/GtASa/GTA%20San%20Andreas.part01.exe.002

Warning: fopen(tmp/http://desi-instincts.com/Games%20(Latest)%20(2007)/GtASa/GTA%20San%20Andreas.part01.exe.002) [function.fopen]: failed to open stream: No such file or directory in /mounted-storage/home90b/sub008/sc42254-ESFQ/www/filesplit.php on line 80

Warning: fwrite(): supplied argument is not a valid stream resource in /mounted-storage/home90b/sub008/sc42254-ESFQ/www/filesplit.php on line 69
filesplit.php is unable to write to current folder.
I think it does not have write permission!
Try chmod +w folder
 

Angelo

Onursal Üye
Katılım
13 Ara 2004
Mesajlar
9,603
Beğeniler
111
Yaş
37
Konum
AZ
#25
I've changed the file twice, i guess you downloaded the first version. Sorry, download it again and it will work:) And you may need to delete the 001 file and start over.
 
Katılım
11 Mar 2008
Mesajlar
66
Beğeniler
0
#26
I run the file just now. . . . it has started working and creating files but its not doing it in proportion. I mean i had told it to prepare 100MB parts but its creating files with random file sizes :

GTA-San-Andreas.part01.exe.001 11-Mar-2008 11:14 61M
GTA-San-Andreas.part01.exe.002 11-Mar-2008 11:14 60M
GTA-San-Andreas.part01.exe.003 11-Mar-2008 11:14 58M
GTA-San-Andreas.part01.exe.004 11-Mar-2008 11:15 58M
GTA-San-Andreas.part01.exe.005 11-Mar-2008 11:15 61M
GTA-San-Andreas.part01.exe.006 11-Mar-2008 11:15 59M
GTA-San-Andreas.part01.exe.007 11-Mar-2008 11:15 0
GTA-San-Andreas.part01.exe.008 11-Mar-2008 11:15 11M

and also when i run the filesplit.php script it shows loading bar in Internet explorer and eventually it shows that page that says IE cannot display this page.
 

Angelo

Onursal Üye
Katılım
13 Ara 2004
Mesajlar
9,603
Beğeniler
111
Yaş
37
Konum
AZ
#27
The sizing structure in the script, seemed fine to me. However iyinet may be able to check it when he's online again. The other thing is probably related with your connection or timeout of your site.
 
Katılım
11 Mar 2008
Mesajlar
66
Beğeniler
0
#29
The file split procedure seems to stop at all files at 56MB exact when in the file its mentioned to be 100MB. That's really strange.... It really breaks the heart when something comes to a sorrow end even after so much of progress. !
 
Katılım
11 Mar 2008
Mesajlar
66
Beğeniler
0
#30
I just tried changing the the split size in the file to 150 MB and it yielded 15 files ::

GTA-San-Andreas.part01.exe.001 11-Mar-2008 11:50 95M
GTA-San-Andreas.part01.exe.002 11-Mar-2008 11:50 96M
GTA-San-Andreas.part01.exe.003 11-Mar-2008 11:50 93M
GTA-San-Andreas.part01.exe.004 11-Mar-2008 11:51 90M
GTA-San-Andreas.part01.exe.005 11-Mar-2008 11:51 30M
GTA-San-Andreas.part01.exe.006 11-Mar-2008 11:50 28M
GTA-San-Andreas.part01.exe.007 11-Mar-2008 11:50 28M
GTA-San-Andreas.part01.exe.008 11-Mar-2008 11:50 28M
GTA-San-Andreas.part01.exe.009 11-Mar-2008 11:50 28M
GTA-San-Andreas.part01.exe.010 11-Mar-2008 11:50 30M
GTA-San-Andreas.part01.exe.011 11-Mar-2008 11:50 29M
GTA-San-Andreas.part01.exe.012 11-Mar-2008 11:51 28M
GTA-San-Andreas.part01.exe.013 11-Mar-2008 11:51 28M
GTA-San-Andreas.part01.exe.014 11-Mar-2008 11:51 29M
GTA-San-Andreas.part01.exe.015 11-Mar-2008 11:51 5.2M

which totals to be 665.2 MB which isnt possible because the split archives total size cant exceed the original size viz. 403MB
 
Katılım
11 Mar 2008
Mesajlar
66
Beğeniler
0
#31
Admin please help me on this issue. I just managed to create <100MB parts by using a filesize of 150 mentioned in filesplit.php, now i want to as k will it work and is it rejoinable after someone downloads all parts of a particular file ?

Note : the size of the files is not contiguous as it should be, it has random filesizes.
 

iyinet

Administratör
Katılım
2 Eyl 2002
Mesajlar
5,022
Beğeniler
54
Konum
Gaziantep
#32
Admin please help me on this issue. I just managed to create <100MB parts by using a filesize of 150 mentioned in filesplit.php, now i want to as k will it work and is it rejoinable after someone downloads all parts of a particular file ?

Note : the size of the files is not contiguous as it should be, it has random filesizes.
Original code did not support remote files.
I have attached updated version, this version supports remote files.
Please let us know if you have any issues.
 
Katılım
11 Mar 2008
Mesajlar
66
Beğeniler
0
#33
I tried it, its not working.

Content i modified ::

// File to split, is its not in the same folder with filesplit.php, full path is required.
$filename = "http://desi-instincts.com/Games%20(Latest)%20(2007)/GtASa/GTA%20San%20Andreas.part01.exe";

// Target folder. Splitted files will be stored here. Original file never gets touched.
// Do not append slash! Make sure webserver has write permission on this folder.
$targetfolder = '/tmp';

// File size in Mb per piece. For a 200Mb file if piecesize=10 it will result with 20 x 10Mb files
$piecesize = 99;


Error the file showed in the browser ::

Warning: fopen(GTA%20San%20Andreas.part01.exe) [function.fopen]: failed to open stream: No such file or directory in /mounted-storage/home90b/sub008/sc42254-ESFQ/www/filesplit.php on line 66
Unable to open GTA%20San%20Andreas.part01.exe.
Make sure you edited filesplit.php correctly!

Permission of the source file to be splitted : 644 (Read allowed)
Permission of the writing folder :: 777 (Everything allowed)
 
Katılım
11 Mar 2008
Mesajlar
66
Beğeniler
0
#35
i change permission to 644 from 640 whenever i try to execute the file. I can enable it if you want to see it. Its a file 403 MB each.
 
Katılım
11 Mar 2008
Mesajlar
66
Beğeniler
0
#36
actually there are 10 total parts :
1-9 Part : 403 MB each
10th Part : 378MB

because of high bandwidth usage i had to hide the links from public
 
Katılım
11 Mar 2008
Mesajlar
66
Beğeniler
0
#37
i want to break all of the parts in 100mb files, creating sub-parts from the already on-server files mentioned above. Your original script, was modified by a member "angelo" and it was hence starting to split the files. . . . just wanted to inform if u missed it.
 

iyinet

Administratör
Katılım
2 Eyl 2002
Mesajlar
5,022
Beğeniler
54
Konum
Gaziantep
#38
Well what I meant in my last message is, I get 403 error = "You are not allowed to access this page."
BTW, I understand what you are trying to do.
 

Bu konuyu okuyanlar (Üyeler: 1, Misafirler: 1)

Türkiye’nin ilk webmaster forum sitesi iyinet.com'da forum üyeleri tarafından yapılan tüm paylaşımlardan; Türk Ceza Kanunu’nun 20. Maddesinin, 5651 Sayılı Kanununun 4. maddesinin 2. fıkrasına göre, paylaşım yapan üyeler sorumludur. iyinet.com sayfalarında yer alan yazı, görsel ve linklerle ilgili hukuki şikayetleriniz için Buradan iletişime geçmeniz durumunda, ilgili kanunlar ve yönetmelikler çerçevesinde en geç 7 gün içerisinde iyinet yönetimince tarafınıza dönüş sağlanacaktır. Betcup Artemisbet Forum canlı bahis sohbet - - chat
Üst