before u r uploading file,u could get the size of file.so compare the size.
2012/3/27 Aaron Schmitz <[email protected]> > hello everyone, > > i have written an upload controller which handles files in a multipart- > form. it scans through the bytes to check if it's an acceptable file. > my problem is to get the progress of the upload of a single file. i > loop through my params to move every file to the server and it's > working properly. > > is there a method to check whether a file has been completely > transfered (in rails!)? > > regards > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- *愿爱与喜悦心与你同在! 石岩敬上 大连东软信息学院 计算机系软件工程应用方向 Dalian NEUSOFT Institute of Information 中国-大连市软件园路8号 邮编:116023 **Mail:[email protected]* <[email protected]> *Phone:15242613529* -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

