Hi¡ He wanted know how display by the screen the size and extension of a file that is already stored on my server. Thanx
You would want to use the FileSystemObject: Set fs=Server.CreateObject("Scripting.FileSystemObject") filepath = server.mappath("babble.txt") Response.Write("The file extension of the file babble is: ") Response.Write(fs.GetExtensionName(filepath)) Response.Write("<br>") set fsofile = fs.getfile(filepath) Response.Write("The file size of the file babble is: ") Response.Write(fsofile.size & " bytes") set fsofile = nothing set fs = nothing
Thank you so much, is what I needed, but I have another doubt... I need to create a folder in my ftp from the browser with code asp. There are some code asp, which enter my username and password from my ftp, I can do this? Thanks again