From: Jeremy A. <bc...@te...> - 2001-04-30 00:35:31
|
hi I have a ftp script that i have been testing on my own machine. It works when i try it on my ftp server on my computer, but it does not work when on any server that is not mine. I feel it is the $ftp->size() that does not register when i logon to a remote site whether it be a microsoft, freebsd or linux server.....it gives me no value for the size of the given file...without this i cannot download, as i have setup my transfers not using the get() command, but using the $ftp->retr for the purpose of displaying the gui progress bar of the transfer. try the attached script....just run it, it will log you on to anomynously to ftp.microsoft.com and attempt to download a file. it will display debugging messages such as "cannot get filesize " |