I've had success with LuaSocket's TCP facility, but I'm having trouble with its FTP module. I always get a timeout when trying to retrieve a (small) file. I can download the file just fine using Firefox or ftp in passive mode (on Ubuntu Dapper Linux).
I thought it might be that I need LuaSocket to use passive FTP, but then I found tha...
I'm trying to specify the passive port range for an ftp server running on IIS6 in Windows Server 2003.
I've used:
adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5600"
I've checked in the metabas file and the changes are applied to it. I can also use:
adsutil.vbs get /MSFTPSVC/PassivePortRange
and it returns the range I've set.
A...
I'm experiencing the same problem as here: http://stackoverflow.com/questions/1609140/ftp-nlist-command-not-working
where php ftp_nlist just returns false.
In put in the command ftp_nlist ($conn_id, true)
But then, the script just runs until it timesout with the following error:
Warning: ftp_nlist() [function.ftp-nlist]: php_connect_...