Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 09-22-2015, 03:49 PM   #1
MONGi
Member
 
Join Date: May 2012
Posts: 72
Default Script - Packing file(s) on event OnUploadComplete

Hello Community,

i would like to try write a script to packing (with winrar, winzip, or anything else) on a ioftpd-event "OnUploadComplete" the uploaded files inside this directory to a other harddisc inside the same directory-name, but i`m don`t understand the handling to get it work.

I would use for example in ioftp the event...
Quote:
OnUploadComplete = EXEC ..\scripts\packing.exe/.cmd/.bat/vbs -upload
...to packing the uploaded file(s) to a other directory with the same parent-name on a external harddisc.
Further, the once packed zip-file should not larger than 2GB, apart from that splitting this file to two or three files.

Anybody knows a script or a tool to exercise it or maybe get help?

If you need more informations or it`s unknowable, please ask.
MONGi is offline  
Old 09-25-2015, 11:43 AM   #2
MONGi
Member
 
Join Date: May 2012
Posts: 72
Default

Hello,

i`m sorry, i think this thread is create in the wrong area. Maybe a administrator can move it into ioFTPD-section?

To my question:
Now i have write a batch-script and will start it with the event...
Quote:
OnUploadComplete = EXEC D:\Scripts\TQLSO.bat -upload
...the script start, but it don`t receive anything.

I have a similar question as the user "Robert_ack" as follow:
https://oss.azurewebsites.net/forum/14819...1-post246.html

What will do/send/receive ioftpd with the argument f.e. "-upload"?
Gives more arguments?

In the readme-file i`ve found this line, but nothing about illustration:
OnUploadComplete (226) = <event-params> "Real path" hex-crc32 "Virtual path"
MONGi is offline  
Old 09-29-2015, 02:30 PM   #3
MONGi
Member
 
Join Date: May 2012
Posts: 72
Default

Hello,

i have fixed my lesson now with a batch-script.

In ioNinja under "set ioNJ(exec_on_complete)" with "{/any-directory/|/another-any-directory/} {EXEC C:/scripts/compress.bat $args}" start the batch-file "compress.bat" and send the arguments. Subsequent the script will compress the content of "any-directory" to a special directory.
It works fine
MONGi is offline  
Closed Thread

Tags
upload, files, script, onuploadcomplete, packing, inside, uploaded, harddisc, directory, event

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 02:24 PM.

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