Go Back   FlashFXP Forums > >

Programming Need help with C/C++/Delphi? Ask here and make us all laugh.

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 01-19-2004, 11:28 PM   #1
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default need help learning to use ioftpd script methods

hello,

i coded a sfv/zip script for raiden and got really fed up with the coder of that app, so now i'm a io guy Anyway, I was just looking at a bunch of scripts and don't quite understand. Coding scripts for raiden i'm used to a file variable so I can do specific checks on a file

ie:
sfv.exe C:/path/and/filename.file

so how does interaction work in ioftpd? i've noticed none of the zip scripts are called with a directory or filename parameter, so how do they know what to check? or even, what directory to check.

any help would be much appreciated.

-mr_F
mr_F_2 is offline  
Old 01-19-2004, 11:35 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Most zipscipts use the OnUploadComplete event, which is triggered when a file has completed uploading.

There are 3 args passed to it, Real-Path CRC-of-File VirtualPath.

INI Entry:
OnUploadComplete = EXEC ..\scripts\blah.exe

Args:
blah.exe "c:\site\freeware\setup.exe" 1A2B3C4D "/freeware/setup.exe"

Btw, from what i've heard your zs for raiden was the best available.
neoxed is offline  
Old 01-19-2004, 11:37 PM   #3
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

thanks for the compliment

i'm gonna get to work on this as soon as I have some time. hopefully I can think of some other useful scripts for ioFTPd in due time. it's looking very very nice so far.
mr_F_2 is offline  
Old 01-19-2004, 11:43 PM   #4
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

it does indeed I really love this FTPd
And welcome to the club
wooolF[RM] is offline  
Old 01-20-2004, 12:00 PM   #5
zpr
Senior Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 170
Thumbs up

welcome mr_F! and good luck with your scripts!
zpr is offline  
Old 01-20-2004, 01:32 PM   #6
odd
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 273
Default

Never enough with scripts for me. keep em comming
odd is offline  
Closed Thread

Tags
check, directory, ioftpd, script, scripts

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Download grinding to a halt bruceh General Discussion 6 09-07-2004 08:29 AM


All times are GMT -5. The time now is 12:52 AM.

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