How Do I Check Whether an Uploaded File Is Complete?

Latest reply: Mar 1, 2016 16:20:57 971 1 0 0
How Do I Check Whether an Uploaded File Is Complete?
  • x
  • convention:

Created Mar 1, 2016 16:20:57 Helpful(0) Helpful(0)

After you upload a file, you can compare the file size before and after the file upload to check whether the uploaded file is complete. Before uploading the file, check and record the file size. After uploading the file, run the dir command to check the file size in the storage medium. If the file sizes are the same, the uploaded file is complete. If they are different, the uploaded file is incomplete. You need to run the delete command to delete the file and upload the file again.

<HUAWEI> dir /all
Directory of flash:/

  Idx  Attr     Size(Byte)  Date        Time       FileName
    0  -rw-             14  Feb 27 2012 11:20:12   back_time_a
    1  -rw-             16  Dec 28 2011 13:10:56   abc.tbl
    2  drw-              -  Feb 25 2012 14:19:56   logfile
    3  drw-              -  Oct 31 2011 15:05:26   sysdrv
    4  drw-              -  Feb 25 2012 14:20:08   compatible
    5  drw-              -  Oct 31 2011 15:19:02   selftest
    6  -rw-             14  Feb 27 2012 11:20:12   back_time_b
    7  -rw-          9,637  Feb 25 2012 14:18:22   vrpcfg.cfg
    8  -rw-              4  Jan 18 2012 16:34:56   snmpnotilog.txt
    9  -rw-          1,968  Feb 25 2012 14:20:22   private-data.txt
   10  -rw-            637  Nov 04 2011 11:48:46   cacert.der
   11  -rw-          4,303  Feb 09 2012 21:16:06   vrpcfg1.cfg.bak
   12  -rw-            639  Nov 04 2011 11:49:04   rootcert.der
   13  drw-              -  Nov 04 2011 11:50:24   security
   14  -rw-             13  Nov 29 2011 20:33:40   tftp_test.txt
   15  -rw-     52,770,448  Dec 05 2011 17:00:06   basicsoft.cc
   16  -rw-     98,139,547  Jan 31 2012 16:11:52   devicesoft.cc
   17  -rw-        463,309  Jan 31 2012 15:55:40   rbsaveddata.txt

509,256 KB total (272,952 KB free)
              Size(Byte) in the command output shows the file size.

  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top