Go Back   FlashFXP Forums > > > >

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

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-14-2003, 11:24 PM   #1
terencehe
Junior Member
 
Join Date: Mar 2003
Posts: 22
Default [REQ]develope dupecheck and search use mysql for ioftpd

i want dev a module for ioftpd:dupecheck and search use mysql

and i write a file for test.
Code:
#include "stdafx.h"
#include "stdio.h"

int main(int argc, char* argv[])
{
	FILE *tempfile;
	tempfile=fopen("c:\\dupe.tmp","w+");
	for (int i=0;i<argc;i++)
		fprintf(tempfile,"%s\n",argv[i]);
	fclose(tempfile);
	return 0;
}
and add ioftpd.ini
Code:
[Pre]
stor = c:\ioftpd\system\dupecheck.exe
when i upload a file test.file in ioftpd
the argv like this in dupe.tmp
c:\ioftpd\system\dupecheck.exe
STOR
test.file

------------------------
[REQ] can ioftpd send parameters like this:
c:\ioftpd\system\dupecheck.exe
STOR
/VFSdirectory/test.file

or how can get the file test.file in ioftpd'VFS directory?
terencehe is offline   Reply With Quote
Reply

Tags
i=0;i, int, mysql, search

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 10:48 AM.

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