- Dec
- 238
- 2
TCC 15.01.52 x64 Windows 7 [Version 6.1.7601]
I have a wifi connection between a PC running Windows 7 and an Android tablet, via a wifi-file-transfer app running on the tablet. For file browsing, you type an ftp:// address into a browser window (or Explorer window) on the PC. The address is provided by the wifi transfer app itself.
Knowing that FTP operations can be performed at the TCC command line, I tried a few. The address and port shown below are bogus -- used just for example purposes. The actual address and port DO work in the real-world situation.
There are two oddities I ran across -- with DIR commands and with reports of file dates.
Dir commands
Two "dir" commands I tried worked. The third didn't, though it seems as if it should. (Lines below might appear to be wrapped incorrectly. In the actual commands, they aren't.)
(1) WORKS -- wildcard '*' used:
(2) WORKS -- wildcard '?' used:
(3) FAILS when the complete filename is specified. This is the filename that is revealed by the above two commands that use wildcards.
File dates
In that "Download" folder on the Android tablet, nearly all of the files whose modification date is some time in 2012 are shown correctly as being modified in 2012 -- IF I view them via browser or via Explorer window.
But if I use "dir ftp://" (etc.etc.) at the TCC prompt, nearly all of the files that were modified in 2012 show as having been modified in 2013.
What am I doing wrong here?
I have a wifi connection between a PC running Windows 7 and an Android tablet, via a wifi-file-transfer app running on the tablet. For file browsing, you type an ftp:// address into a browser window (or Explorer window) on the PC. The address is provided by the wifi transfer app itself.
Knowing that FTP operations can be performed at the TCC command line, I tried a few. The address and port shown below are bogus -- used just for example purposes. The actual address and port DO work in the real-world situation.
There are two oddities I ran across -- with DIR commands and with reports of file dates.
Dir commands
Two "dir" commands I tried worked. The third didn't, though it seems as if it should. (Lines below might appear to be wrapped incorrectly. In the actual commands, they aren't.)
(1) WORKS -- wildcard '*' used:
c:\> dir "ftp://123.456.78.901:0000\Download\Phone_call_from_Neurosurgeon_32bps.mp*"
Directory of ftp://123.456.78.901:0000\Download\Phone_call_from_Neurosurgeon_32bps.mp*
9/09/2013 1:27 1,153,298 Phone_call_from_Neurosurgeon_32bps.mp3
1,153,298 bytes in 1 file and 0 dirs
Directory of ftp://123.456.78.901:0000\Download\Phone_call_from_Neurosurgeon_32bps.mp*
9/09/2013 1:27 1,153,298 Phone_call_from_Neurosurgeon_32bps.mp3
1,153,298 bytes in 1 file and 0 dirs
(2) WORKS -- wildcard '?' used:
c:\> dir "ftp://123.456.78.901:0000\Download\Phone_call_from_Neurosurgeon_32bps.mp?"
Directory of ftp://123.456.78.901:0000\Download\Phone_call_from_Neurosurgeon_32bps.mp?
9/09/2013 1:27 1,153,298 Phone_call_from_Neurosurgeon_32bps.mp3
1,153,298 bytes in 1 file and 0 dirs
Directory of ftp://123.456.78.901:0000\Download\Phone_call_from_Neurosurgeon_32bps.mp?
9/09/2013 1:27 1,153,298 Phone_call_from_Neurosurgeon_32bps.mp3
1,153,298 bytes in 1 file and 0 dirs
(3) FAILS when the complete filename is specified. This is the filename that is revealed by the above two commands that use wildcards.
c:\> dir "ftp://123.456.78.901:0000\Download\Phone_call_from_Neurosurgeon_32bps.mp3"
TCC: (Sys) The system cannot find the file specified.
"ftp://123.456.78.901:0000\Download\Phone_call_from_Neurosurgeon_32bps.mp3"
0 bytes in 0 files and 0 dirs
TCC: (Sys) The system cannot find the file specified.
"ftp://123.456.78.901:0000\Download\Phone_call_from_Neurosurgeon_32bps.mp3"
0 bytes in 0 files and 0 dirs
File dates
In that "Download" folder on the Android tablet, nearly all of the files whose modification date is some time in 2012 are shown correctly as being modified in 2012 -- IF I view them via browser or via Explorer window.
But if I use "dir ftp://" (etc.etc.) at the TCC prompt, nearly all of the files that were modified in 2012 show as having been modified in 2013.
What am I doing wrong here?
Last edited: