reset password
Author Message
IFlores
Posts: 5
Posted 19:04 Mar 14, 2017 |

Does anyone know how to get the size of the .txt and which servlet to implement it in? Thanks

vsarava
Posts: 16
Posted 19:12 Mar 14, 2017 |

The file.length() method gives the size of the file. (Please refer to the Upload.java file under the code samples.)

I believe you can implement it in the servlet containing the upload functionality.

Last edited by vsarava at 19:14 Mar 14, 2017.