Test.bat:
Code:
@echo off
echo test script
ioFTPD.ini:
Code:
[Events]
OnDownloadComplete = EXEC ..\scripts\test.bat
[FTP_Custom_Commands]
test = EXEC ..\scripts\test.bat
Resume with APPE test in FFXP:
Code:
[00:46:58] [L] site test
[00:46:58] [L] 200-test script
[00:46:58] [L] 200 Command successful.
[00:47:01] [L] TYPE I
[00:47:01] [L] 200 Type set to I.
[00:47:03] [L] PORT 192,168,0,1,7,183
[00:47:03] [L] 200 PORT command successful.
[00:47:03] [L] APPE test.zip
[00:47:03] [L] Connected. Negotiating SSL session..
[00:47:03] [L] SSL negotiation successful...
[00:47:03] [L] SSL encrypted session using cipher RC4-MD5 (128 bits)
[00:47:03] [L] 150 Opening BINARY mode data connection for test.zip.
[00:48:31] [L] 226 Transfer complete.
[00:48:31] Resumed: test.zip 165.69 MB in 1 minutes 27 seconds (1,942.5 KB/s)
[00:48:31] [L] TYPE A
[00:48:31] [L] 200 Type set to A.
[00:48:31] [L] PORT 192,168,0,1,8,164
[00:48:31] [L] 200 PORT command successful.
[00:48:31] [L] LIST -la
[00:48:31] [L] Connected. Negotiating SSL session..
[00:48:31] [L] SSL negotiation successful...
[00:48:31] [L] SSL encrypted session using cipher RC4-MD5 (128 bits)
[00:48:31] [L] 150 Opening ASCII mode data connection for directory listing.
[00:48:31] [L] 226 Transfer complete.
[00:48:31] [L] List Complete: 205 bytes in 0.18 seconds (1.1 KB/s)
[00:48:31] Transfer queue completed
[00:48:31] Transferred 1 file totaling 165.69 MB in 1 minutes 30 seconds (1,942.5 KB/s)
test.bat is not executed when APPE is completed.
You sure you don't have a %[exec] call to your .exe in your TransferComplete file ?