עמוד ראשי » זירת השאלות » איך בודקים משקל קובץ?2309צפיות1תשובותאיך בודקים משקל קובץ? WebMaster Team, 4 בנובמבר, 2011תגיות: ASP, FileSystemObject, FSO
1 תשובות
<%
Set fso = CreateObject("Scripting.FileSystemObject")
Set fileObject = fso.GetFile(Server.MapPath("\fso\") & "\myfile.txt")
Response.Write fileObject.Size & " bytes"
<%