% 'rotina para pegar o tamanho do arquivo public Sub LeArquivo(Pasta, Arquivo) dim strRaiz, objFS, objRaiz, Folder, File, StrI 'strRaiz = Server.Mappath("brazjurol/site/" & pasta) strRaiz = Server.Mappath(pasta) set objFS = Server.CreateObject("Scripting.FileSystemObject") Set objRaiz = objFS.GetFolder(strRaiz) for each File in objRaiz.Files if File.Name = Arquivo then Tamanho = formatNumber((File.size*0.001),0,false,true,true) & " KB" if not isnull(Tamanho) then response.write "File Size: " & Tamanho else response.write "zzz" end if ' else ' response.write "File does not exists" end if next end sub %>
| Where
this PDF icon appears, |
|
GENERAL INFORMATION - VOLUME 32, 2006 |
| Contents | ||
| P. 745-751 | ||
|
|
||
|
|
|
|
| Author Index | ||
| P. 752-754 | ||
|
|
||
|
|
|
|
| Subject Index | ||
| P. 755-759 | ||
|
|
||
|
|
|
|
| Reviewers | ||
| P. 760-766 | ||
|
|
||
|
|
|
|