Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: aspupload question
02-26-2003, 09:38 AM #1
- Join Date
- Sep 2002
- Everthorpe, nr Hull, UK
- Thanked 0 Times in 0 Posts
this bit of code is part of aspupload how do i get the upload.files("ONLYFILES").Path which gives you location of where the file has been put on the server after uploading to just give me the file name. as aspupload sometimes renames files in cases of duplicate files.
Response.Write Upload.Files("ONLYFILE").Path & " (" & upload.Files("onlyfile").Size & " bytes)<BR>"
i want this bit of code to just give the name of the file and the size of the file.
I have tried changing it to this but it didn't work
Response.Write Upload.Files("ONLYFILE").Name & " (" & upload.Files("onlyfile").Size & " bytes)<BR>"
Can anyone help me out.
In the beginning god said "let there be light." and from out of the darkness a pen pusher was heard to say "not to much. that's expensive that is!"