Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

More on IFTP

May
12,834
163
There seems to be another bug. Compare these two directory listings. The second doesn't show all the subdirectories and does show a 0-byte file from 1/1/70 with no name!
Code:
v:\> dir /a:d ftp:

 Directory of  ftp://localhost/4plugins/*

 6/04/2014  11:44  <DIR>  .
 6/04/2014  11:44  <DIR>  ..
 6/13/2013  0:00  <DIR>  NeedsVista
 2/25/2010  0:00  <DIR>  Save
 2/25/2010  0:00  <DIR>  shralias_ascii_save_files
 6/04/2014  13:22  <DIR>  test
11/26/2012  0:00  <DIR>  X64
 5/16/2014  20:40  <DIR>  xp
  0 bytes in 0 files and 8 dirs

v:\> dir ftp:

 Directory of  ftp://localhost/4plugins/*

 6/04/2014  11:44  <DIR>  .
 6/04/2014  11:44  <DIR>  ..
 6/13/2013  0:00  <DIR>  NeedsVista
 1/01/1970  0:00  0
 6/04/2014  11:18  0  1byte
 6/03/2014  23:03  1,048,576  1meg
 6/02/2010  0:00  3,014  4anothertray.zip
 6/02/2010  0:00  18,223  4autotray.zip
 5/03/2014  22:08  39,478  4console.zip
<SNIP>
 
Actually it's probably the same bug as in my other recent thread ... data channel closing prematurely. How much data is processed seems to be up to chance!
Code:
v:\> iftp ftp://lucky.syr.edu/4plugins

v:\> dir /a:d ftp:

 Directory of  ftp://lucky.syr.edu/4plugins/*

 6/04/2014  11:44  <DIR>  .
 6/04/2014  11:44  <DIR>  ..
 6/13/2013  0:00  <DIR>  NeedsVista
  0 bytes in 0 files and 3 dirs

v:\> dir /a:d ftp:

 Directory of  ftp://lucky.syr.edu/4plugins/*

 6/04/2014  11:44  <DIR>  .
 6/04/2014  11:44  <DIR>  ..
 6/13/2013  0:00  <DIR>  NeedsVista
 2/25/2010  0:00  <DIR>  Save
 2/25/2010  0:00  <DIR>  shralias_ascii_save_files
  0 bytes in 0 files and 5 dirs
 
FWIW, when this happens, according to the server's response, all the data was sent, and, according to a network trace, all the data was received.
 
As I said in the other related (?) thread, it's still happening today. All the data is arriving, but TCC doesn't show it all. Here are two DIR commands issued about 1 second apart:
Code:
v:\> dir ftp:

 Directory of  ftp://lucky.syr.edu/4plugins/test/*

 1/01/1970  0:00  <DIR>
 6/05/2014  0:19  <DIR>  .
  0 bytes in 0 files and 2 dirs

v:\> dir ftp:

 Directory of  ftp://lucky.syr.edu/4plugins/test/*

 6/05/2014  0:19  <DIR>  .
 6/05/2014  0:19  <DIR>  ..
 6/04/2014  13:22  7,340,032  7meg
 6/05/2014  0:15  512  512.bin
 6/04/2014  11:50  2,024  1024
 6/05/2014  0:13  1,984  1984.bin
 6/05/2014  0:13  1,985  1985.bin
 6/04/2014  11:48  2,048  2048
 6/04/2014  11:48  4,096  4096
 6/04/2014  11:47  8,192  8192
 6/04/2014  11:47  16,384  16384
 6/04/2014  11:46  32,768  32768
 6/04/2014  11:45  65,536  65536
 6/04/2014  11:45  65,537  65537
 6/05/2014  0:21  2,040  xxx
 6/05/2014  0:18  1,132  xxx.txt
  7,544,270 bytes in 14 files and 2 dirs
 

Similar threads

Back
Top