Old 12-02-2011, 02:12 AM   #16
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

New version 4.6.46.600, see first post for downloads

Code:
========================================================================================================================
From 4.5.42.594 to 4.6.46.600

In jeza.ioFTPD.ZipScript.exe.config add
    <add key="TagAsFolderCrc32" value="false"/>
    <add key="TagAsFolder" value="false"/>

set its value to true if you wanna TAG created as Folders   
Replace all *.exe and *.dll files 
========================================================================================================================
jeza is offline   Reply With Quote
Old 12-02-2011, 12:13 PM   #17
ArtX
Senior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Jan 2004
Posts: 301
Default

Thanks, now everyone should be happy
ArtX is offline   Reply With Quote
Old 12-06-2011, 04:55 AM   #18
Sc0tTy
Member
FlashFXP Registered User
 
Join Date: Oct 2007
Posts: 30
Default

Didn't realize you created a seperate topic.

I will upgrade the v3.3.10 i've been using to v4.6.46 and let you knw how it goes
Sc0tTy is offline   Reply With Quote
Old 12-06-2011, 05:12 AM   #19
Sc0tTy
Member
FlashFXP Registered User
 
Join Date: Oct 2007
Posts: 30
Default

Okay, .xml config runs fine

I've been using you're archive script for a while now and i must say it works quite well
But i've got 1 feature request and 1 fix.
Can you have the console window display the same as the log?

When moving on the same partition, it's not nescesarry to copy the files and than delete the source, just moving from 1 place to the other should be fine. Saving a ton of I/O etc.
Sc0tTy is offline   Reply With Quote
Old 12-10-2011, 02:47 AM   #20
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

Update only for Archive!

in .config add
Code:
<add key="LogToConsole" value="true"/>
replace all .exe and .dll files
jeza is offline   Reply With Quote
Old 12-21-2011, 03:04 AM   #21
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

New version out
upgrade only if you are using archive and wanna update DUPE on archiving...

Code:
In jeza.ioFTPD.Archive.exe.config add
    <add key="FileNameInternalLog" value="e:\\server\\ioFTPD\\logs\\jeza.ioFTPD.log" />

    <add key="UpdateDupe" value="true"/>
    <add key="DataSourceDupe" value="Data Source=e:\\server\\ioFTPD\\scripts\\jeza.ioFTPD.Manager\\jeza.ioFTPD.Dupe.s3db"/>
    <add key="DataSourceDupeUpdateCommand" value="UPDATE Folders SET PathReal = '{1}', PathVirtual = '{2}' WHERE ReleaseName = '{0}'"/>

Replace all *.dll and *.exe files in 'jeza.ioFTPD.ArchiveScript'
Replace 'XMLSchema.xsd' in 'jeza.ioFTPD.ArchiveScript'
DataSourceDupeUpdateCommand is by default set to update my DUPE DB.
it was not tested with other dupeDB like nxdupe, but i think it should work with any db that uses sqlite.

new archivetask looks like this now
Code:
  <task>
    <logFormat>ARCHIVE: &quot;Archive&quot; &quot;Moving {0} from {1} to {2}&quot;</logFormat>
    <status>Enabled</status>
    <actionType>Move</actionType>
    <source>E:\\temp\\TestFiles</source>
    <sourceVirtual>/temp/TestFiles/</sourceVirtual>
    <destination>E:\\temp\\archive</destination>
    <destinationVirtual>/archive/</destinationVirtual>
    <action id="TotalFolderUsedSpace">
      <value>12345000</value>
      <minFolderAction>2</minFolderAction>
    </action>
  </task>
new is:
sourceVirtual
destinationVirtual
logFormat
- add only if you wanna add text to ioFTPD.log when executing this task (for bot anounce)
jeza is offline   Reply With Quote
Old 12-22-2011, 01:31 PM   #22
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

New version...

ZipScript update

Added :
Code:
From 4.6.49.613 to 4.6.50.614

In jeza.ioFTPD.ZsipScript.exe.config add
    <!-- http://rescene.info/index.htm -->
    <add key="UseResceneInfoOnRarComplete" value="true"/>
    <!-- Rescene.Info Executable -->
    <add key="ResceneInfoExecutable" value="E:\\0day\\archive\\srr.1.2\\srr.exe"/>
    <!-- Extract release in those directories -->
    <add key="ExtractRarOnComplete" value="/movies/ /series/"/>
    
Replace all *.dll and *.exe files in 'jeza.ioFTPD.ZipScript'
Delete 'ICSharpCode.SharpZipLib.dll'
jeza is offline   Reply With Quote
Old 02-16-2012, 04:29 PM   #23
isteana
Senior Member
 
Join Date: Mar 2006
Posts: 110
Default

thanks for useful scripts by C#
it sure will be faster than TCL
isteana is offline   Reply With Quote
Old 03-13-2012, 08:11 AM   #24
ArtX
Senior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Jan 2004
Posts: 301
Default

is there a way to disable the creation of jeza.ioFTPD.Debug files? I was going to delete the entry but thought I best ask first as I don't want to break the script :/

Also any plans on getting this working with a bot?
ArtX is offline   Reply With Quote
Old 03-13-2012, 01:58 PM   #25
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

i will create a "release" version without debuging when i come back home (weekend).
you can use it with any bot that uses ioFTPD.log file for example.

you have also an option to write anounce messages to file of your choice
<add key="FileNameInternalLog" value="e:\\server\\ioFTPD\\logs\\jeza.ioFTPD.log" /> and bot can read it and anounce...

Example of writing SFV info to ioFTPD.log :
<add key="LogToIoFtpdSfv" value="true" /> <!-- log SFV uploaded to ioFTPD.log -->


Example of writing SFV info to file of your choice:
<add key="LogToInternalSfv" value="true" />


i also released a complete sitebot with trial/quota and everything
but it is almost nothing documented :P

check out this thread https://oss.azurewebsites.net/forum/new-sc...-jscripts.html
jeza is offline   Reply With Quote
Old 03-14-2012, 11:35 AM   #26
ArtX
Senior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Jan 2004
Posts: 301
Default

Seems I am getting an issue when using the manager part of your script.

The error in the debug log is


Code:
[2012-03-14 16:30:30] Assembly.GetExecutingAssembly().Location: ['C:\ioFTPD\scripts\jeza.ioFTPD.Manager\jeza.ioFTPD.Framework.dll']
error in flash is

Code:
[L] MKD test
[L] 550 test: Action blocked by external script.
Only seems to happen if I have

OnNewDir = EXEC ..\scripts\jeza.ioFTPD.Manager\jeza.ioFTPD.Manager .exe newdir

in my ioFTPD.ini

Seems rescan doesn't work in any dir that has zip files in it, any dir that has an .sfv file it works fine

Sorry if this has already been mentioned
ArtX is offline   Reply With Quote
Old 03-18-2012, 01:09 AM   #27
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

here is a version with debug disabled : http://jezatools.googlecode.com/file...14-noDebug.rar

rescan does work only with files that have an SFV, because rescan checks CRC32 info that is found in SFV.

please paste more lines from debug file so i can check whats wrong when newdir is created
jeza is offline   Reply With Quote
Old 11-06-2012, 03:59 PM   #28
Quarzar
Junior Member
 
Join Date: Oct 2009
Posts: 4
Default

Thanks for the great scripts.

But your noDebug ZipScript still create the jeza.ioFTPD.Debug files

and your IMDB info seems not to be working - it's removing the nfo's

Code:
[2012-11-06 21:52:12] args: 'args[0]='upload', args[1]='E:\TEST\Test2-T\test.nfo', args[2]='62D77253', args[3]='/TEST/Test2-T/test.nfo''
[2012-11-06 21:52:12] CurrentRaceData: FileExtension: .nfo, FileName: test.nfo, FileNameWithoutExtension: test, FileSize: 54, DirectoryName: Test2-T, 
DirectoryPath: E:\TEST\Test2-T, RaceType: Nfo, UploadCrc: 62D77253, UploadFile: E:\TEST\Test2-T\test.nfo, UploadVirtualFile: /TEST/Test2-T/test.nfo, 
UserName: Test, GroupName: test, Speed: 113, DirectoryParent: E:\TEST, UploadVirtualPath: /TEST/Test2-T/, Uid: 1, Gid: 2, LinkImdb: 
[2012-11-06 21:52:12] Skip file extension match=[False] :: ['.nfo' => 'jpg,jpeg,cue,txt,tcl,itcl,ini,cfg,m3u,avi,mpg,mpeg,vob,mkv,mp4']
[2012-11-06 21:52:12] Refuse file extension match=[False] :: ['.nfo' => 'bat,cmd,exe,dll']
[2012-11-06 21:52:12] Parsing: 'E:\TEST\Test2-T\test.nfo'
[2012-11-06 21:52:12] line: 'iMDB LiNK.....: http://www.imdb.com/title/tt0088247/'
[2012-11-06 21:52:12] Format: ,----------=[ ZipScript by Jeza ]=-----------------------------------------------------------,
[2012-11-06 21:52:12] Format: | File.....: test.nfo                                                                        |
[2012-11-06 21:52:12] Format: '---------------------------------------------------------------------=[   0/0   ]=----------'
[2012-11-06 21:52:12] Process IMDB info
[2012-11-06 21:52:12] Format: NFO: "/TEST/Test2-T/" "test.nfo" "Test" "test"
[2012-11-06 21:52:12] Log to Internal: 'NFO: "/TEST/Test2-T/" "test.nfo" "Test" "test"'
[2012-11-06 21:52:12] GetImdbResponseForEventId: 'tt0088247'
[2012-11-06 21:52:12] GetImdbInfo: 'http://www.imdbapi.com/?i=tt0088247'
Code:
[21:52:12] [R] STOR test.nfo
[21:52:12] [R] 150 Opening ASCII mode data connection for test.nfo.
[21:52:15] [R] 226-,----------=[ ZipScript by Jeza ]=-----------------------------------------------------------,
[21:52:15] [R] 226-| File.....: test.nfo                                                                        |
[21:52:15] [R] 226-'---------------------------------------------------------------------=[   0/0   ]=----------'
[21:52:15] [R] 226-Checked in 3071,1757ms
Quarzar is offline   Reply With Quote
Old 11-07-2012, 12:10 AM   #29
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

is there anything else or does the logging stops there?
can you upload your test file and debug file so i can check it?
jeza is offline   Reply With Quote
Old 11-07-2012, 11:39 AM   #30
Quarzar
Junior Member
 
Join Date: Oct 2009
Posts: 4
Default

The logging stops there

I attach the logfiles, testfiles and the testfiles / logfiles from the ftpd dir
Attached Files
File Type: rar Testfiles.rar (8.8 KB, 5 views)

Last edited by Quarzar; 11-07-2012 at 12:22 PM.
Quarzar is offline   Reply With Quote
Reply

Tags
jeza, manager, releases, script, zip

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:29 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)