PDA

View Full Version : FTP - test is OK and failed


c_by_sinus
1st of November 2003 (Sat), 03:21
Hi,
When I do a ftp-test, I get allways some OKs and some Errors (FAILED Reason: Unable to find ftpbuf 0)

What can be the source for this?

FTP SERVER NAME: local
FTP SERVER: www.al-capone.ch/
CONNECTION (ftp address): FAILED Reason:
UPLOAD TEST IMAGE 'ee_test0.jpg': FAILED Reason: Unable to find ftpbuf 0
GET 'ee_test0.jpg' SIZE: OK
GET 'ee_test0.jpg' MODIFIED DATA: OK
UPLOAD TEST IMAGE 'ee_test1.jpg': FAILED Reason: Unable to find ftpbuf 0
GET 'ee_test1.jpg' SIZE: OK

Thanks for hints!
Markus

Pekka
1st of November 2003 (Sat), 06:20
c_by_sinus wrote:
Hi,
When I do a ftp-test, I get allways some OKs and some Errors (FAILED Reason: Unable to find ftpbuf 0)

What can be the source for this?

FTP SERVER NAME: local
FTP SERVER: www.al-capone.ch/
CONNECTION (ftp address): FAILED Reason:
UPLOAD TEST IMAGE 'ee_test0.jpg': FAILED Reason: Unable to find ftpbuf 0
GET 'ee_test0.jpg' SIZE: OK
GET 'ee_test0.jpg' MODIFIED DATA: OK
UPLOAD TEST IMAGE 'ee_test1.jpg': FAILED Reason: Unable to find ftpbuf 0
GET 'ee_test1.jpg' SIZE: OK

Thanks for hints!
Markus

The "Unable to find ftpbuf 0" refers to making connection, not uploading (PHP messaging system buffering oddity).

I have not seen this error before and I did some research. What server do you use?

In short this may be caused by:
- router problem (private IP)
- IIS server bugs
- cached ftp resources in Apache (server reboot fixes)
- unknown PHP bug

See http://bugs.php.net/search.php?cmd=display&search_for=ftpbuf&x=0&y=0

I did one attempt for a workaround code, download it from http://photography-on-the.net/ee/beta/ftp_servers.zip

Let me know if it makes any difference. That change is only for server test page, so if it works I'll change all upload files too.