FTP problem with COPY /U

May 30, 2008
TCC 9,02.149 Windows XP [Version 5,1,2600]

It seems COPY /U combined with certain file names does
not work reliably with FTP servers.

In the example below file names containing "[" and/or "]" are always copied when using the /U switch.

C:\User\temp>dir test*

Directory of C:\User\temp\test*

26.06.2008 7:20 6 test
26.06.2008 7:19 3 test1.txt
26.06.2008 7:19 11 test[2].txt

C:\User\temp>dir "ftp:test/"

TCC: (Sys) The system cannot find the file specified.
0 bytes in 0 files and 0 dirs

7:21 (2008-06-26) C:\User\temp>*copy /U test* "ftp:test/"
C:\User\temp\test => ftp://netdrv.netikka.fi/test/test
C:\User\temp\test1.txt => ftp://netdrv.netikka.fi/test/test1.txt
C:\User\temp\test[2].txt => ftp://netdrv.netikka.fi/test/test[2].txt
3 files copied

C:\User\temp>dir "ftp:test/"

Directory of ftp://netdrv.netikka.fi/test/*

26.06.2008 4:21 6 test
26.06.2008 4:21 3 test1.txt
26.06.2008 4:21 11 test[2].txt
20 bytes in 3 files and 0 dirs

Fine so far, all test* where copies as expected.

C:\User\temp>*copy /U test* "ftp:test/"
C:\User\temp\test[2].txt => ftp://netdrv.netikka.fi/test/test[2].txt
1 file copied

But here "test[2].txt" was copied again.

C:\User\temp>*copy /U test* "ftp:test/"
C:\User\temp\test[2].txt => ftp://netdrv.netikka.fi/test/test[2].txt
1 file copied

One more time, just to sure.

Similar threads
Thread starter Title Forum Replies Date
K copy ftp: with /w problem Support 4
P Problem with FTP copies Support 10
R ftp problem Support 2
M Strange error messages from TCC in FTP copy Support 7
vefatica FTP SSL, how do I see it work? Support 3
M ftp unreliable Support 2
Jay Sage Directory Alias Access to FTP Servers Support 2
Brian Woodward How to? Does FTP.CFG only support SSL over port 21? (Newbie) Support 6
cgunhouse FTP Error Support 5
S iftp copying pgp files from ftp is not working Support 11
vefatica Fixed COPY /S ftp://... Support 1
C WAD copy /u ftp local with Timeout? Support 5
vefatica FTP copy interrupted Support 2
C How to? COPY ftp folder query Support 7
jadaml Documentation Is COPY realy doesn't work for any HTTP and FTP? Support 3
vefatica IFTP and active FTP Support 13
S Return of FTP copy bug in 16.02.48 Support 12
S WAD FTP copy fails in 16.00.25 Support 24
fpefpe How to? ftp server Support 9
mikea How to? TCC and ftp:// commands Support 7
dcantor WAD dir "ftp:// ..." fails in TCC 15 Support 7
C v15 not on ftp site? Support 8
S Attacks, FTP vs. FTPS, downloading Support 19
S WAD COPY from FTP site fails in 14.03.51 Support 9
vefatica WAD DIR ftp ... broken Support 2
E No file names in dir "ftp..." Support 1
S dir for ftp connection - missing files sometimes Support 1
C ftp://lucky.syr.edu/ Support 11
A How to? Instruct COPY to delete file if only partially copied (via FTP) Support 8
C Vince - your FTP'ed jpsupport.zip's Support 1
S TMCD 13.04.61 not on FTP site Support 5
vefatica Win7, FTP, TCC Support 1
R ftp server password required to download pdf help Support 3
D cannot get into ftp://jpsoft.com/oldver Support 1
D ftp crashes tcmd v12.11 and 13.01 Support 10
S FTP site; FTP copy Support 4
Peter Bratton Update the ftp site Support 1
S DEL on FTP site : complaint about missing DESCRIPT.ION Support 1
S MOVE from FTP directory to another FTP directory - bug?? Support 2
C Active FTP Problems Support 4
noahcoad copy /w to FTP does not set time stamp Support 1
P Support for national letters in filenames in ftp operations Support 1
S FTP site; IFTP access Support 10
C AVG says FTP.CFG is locked ? Support 1
T FTP.CFG file aliases Support 5
R TC9 FTP strangeness - solved - for KB only Support 1
J switching to passive ftp Support 4
S FTP gremlins Support 1
S FTP issues with 11.0 Support 9
H Another multiple FTP password prompt issue Support 2

Similar threads