Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

filesize(

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I want to get file size, but filesize function only work with local file.
 
How do you expect a server to know the filesize of a file on another server? If you are trying to read a web page by HTTP, then the only way to get filesize is to save to a temp file on your server first, then check size. If your server has access rights to the other server, though, you can use FTP to check filesize.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top