Forum - File & Image Uploader
English (Global) => General Discussion => Topic started by: nayo on 18-08-2012, 01:38:04
-
hi zoom, i got an idea about a very nice feature to add to your software...
now i explain...
lets suppose i have a file weighting 6gb... and winrar installed
it would be nice if your software would create on the fly a winrar multi archive with X .rev files (set by user inside preferences)... once upload is done those temporary files would be deleted...
what do you think about this ?
another simple way to explain:
source file.iso 6gb ---> 8 files are uploaded file.iso.part1-6 & file.iso.rev1-2
thanks in advance for your answer ^^
-
i gave a look at the preferences...
i am not sure, but maybe a special winrar command line would be enough to do what i have in mind, now i just need o find out the magic words to put into command line options...
-
sadly isn't possible to make this work, cause you cannot input a command line...
anyway here is a bat file doing the thing i need, i wonder if it would be possible to make zoom uploader do this automatically:
"c:\Program Files\WinRAR\rar.exe" a -m5 -v1024m -rv2 "%%i".rar "%%i"
create a maxium compression, multiarchive split in parts of 1gb, and also creates 2 .rev files :D
-
ps change "x:\Apps x Windows\0 File Uploader\FileUploader.exe" with the correct path to your file : fileuploader.exe
guess i found a solution :D
create this bat 000RARzfu.bat
inside put:
SET wherezfu="x:\Apps x Windows\0 File Uploader\FileUploader.exe"
SET abspath=%~dp0
tasklist /FI "IMAGENAME eq FileUploader.exe" | find /i "FileUploader.exe"
IF ERRORLEVEL 2 GOTO ISRUN
IF ERRORLEVEL 1 GOTO NORUN
:ISRUN
md tempzfu
md donezfu
:LOOP
FOR %%i IN (.\*.*) DO (SET varx="%%i")
IF (%varx%) == (".\000RARzfu.bat") GOTO END
move %varx% .\donezfu\
cd donezfu
"c:\Program Files\WinRAR\rar.exe" a -m5 -v1024m -rv2 -o+ .\..\tempzfu\%varx%.rar %varx%
cd..
cd tempzfu
FOR %%j IN (.\%varx%*.*) DO call %wherezfu% %abspath%tempzfu\"%%j"
cd..
GOTO LOOP
:END
rem cd donezfu
rem move *.* .\..\
rem cd..
rem rd donezfu
rem del 000RARzfu.bat
EXIT
:NORUN
cls
@echo PLEASE CLICK ON THE .BAT FILE AGAIN, IF FILEUPLOADER.EXE IS RUNNING, THE BAT FILE WILL WORK.
@echo (also be sure upload immediately is checked, and also a default selection profile is selected in the top window)
%wherezfu%
EXIT
-
isn't folder monitoring easier? :)
-
not sure zoom if it does what i need, also i am only a registered user (no premium, so folder monitoring isn't enabled for me)
what folder monitor i think, but i am not sure, doesn't do is:
you have 1 big file ... and want it uploaded into 6 split parts + 2 .rev files (8 files 8gb total)
i bet folder monitor doesnt do this...
internet is prone to errors, and nowadays you can't relay on filehoster to have your "bullet proof" cloud hard disk... it would be a "suicide" to upload something without .rev files :P and i want the process made as much automatic as possible... i store a big whole file on my hard disk, and on my backup hard disk... i need a way, starting for 1 big 6gb file, to have 8 files 1gb each on the file hoster (6gb the split file, 2gb the rev files)
right now i no longer have a "powerful" upload line (i had a 10mbit) so i can't test the batch file too much... i did some hours of tests thought and it works... i used to have a nice 3rd backup of my hard drive in the cloud before "they" wiped it for no reason :/ (was on megaupload -.-')
back in the days i used your "on the fly" option which made a split of files 1gb .001 .002 .003 etc and i used a self made batch file + par2 software to check integrity... it proved useful 2 times to fix a corrupt case downloading only a little chunk of data...
i find rar option more userfriendly, despite the cons of winrar being not freeware, not opensource... but well 7zip developers still havent incorporated a nice option .rev alike.
Those .rev files are awersome, they are like a jolly in a deck of cards, you miss a part... you can use a .rev instead of that
-
well, you can use bat file to make parts, then just move it to monitored folder and it will be all added automatically ;)