It's a part of larger script system that will launch this script with needed parameters. The scripts also do some manipulations with the received files different for each ftp and I want to be able to disable any site in case I need to. | [reply] |
What do the log files on the other ftp servers (that don't work) say? Do they even show a login attempt? Is it always one particular ftp server that works when you hard code its details? Do you get any error messages on screen when you run your script?
| [reply] |