ftp functions, phalanger 2.0
1 post
• Page 1 of 1
ftp functions, phalanger 2.0
Hi, i have problem with ftp_connection function. If ftp server is down application reports error and crashes. When i use it as a script there is no problem. It just moves to the next line of code after timeout. I don't know where is the problem ,maybe with error handling?
code sample
if ($connid=ftpconnect('192.168.10.32',21,30)) { ftplogin($connid,'anonymous','hsjhjfg@yahoo.com')}
code sample
if ($connid=ftpconnect('192.168.10.32',21,30)) { ftplogin($connid,'anonymous','hsjhjfg@yahoo.com')}
- berekin@codeplex
- Posts: 3
- Joined: January 7th, 2012, 8:56 pm
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 10 guests