View Single Post
Old 05-08-2011, 06:35 AM  
Zer0Racer
Senior Member
 
Join Date: Oct 2002
Posts: 703
Default

Quote:
Originally Posted by Yil View Post
Zer0Racer: error number 87 is ERROR_INVALID_PARAMETER and based on a quick search seems to indicate that either the command line is too long (32k - unlikely!) or the environmental variables are too long (32k). If you do 'set' from a command prompt it should show you the currently defined variables. ioFTPD then adds to that whatever is in etc/ioftpd.env after expanding all the cookies...

If you have say 25-30k worth of normally defined variables perhaps when ioFTPD adds it's own with longer named directories you are getting errors but with shorter you are fine. My guess is you've installed more software that automatically added some environmental variables or appended its path to the PATH variable and now you are hitting the 32k total limit...

You can modify the list of windows environmental variables via system properties -> advanced system settings -> environmental variables or something like that depending on which version of windows you are running.
Yeah I searched for it too and shortened it so now I only have
Code:
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
But that didn't help.

Edit: Same zipscript executable still works with 7.3.3 without the CreateProcess failure. When I try it in 7.7.1 it doesn't work. Same machine.

Last edited by Zer0Racer; 05-08-2011 at 09:37 AM.
Zer0Racer is offline   Reply With Quote