Strange error messages from TCC in FTP copy

Sep 10, 2009
37
0
I have a BTM file. I enabled an echo, so the output shows the complete execution.
I use the lates version 26.00.31 x64. I saw this error also in version 22 before... I can see this since years now I ask.

For each file I see a strange warning with a one letter text. Seams that there is a problem with the text output.

-------------------------
REM --- Start connection
iftp /R ftp://anything
FOR %name In ("F:\anypath\Docs\Handbuch*.pdf" "F:\anypath\Docs\Sem*.pdf") ( COPY /g /uf "%name" ftp://anything/anything.de/www2
/sites/default/files/bedienungsanleitung/%@lower[%@replace[ ,_,%@filename[%name]]] )

0 Dateien kopiert
TCC: D:\Dev\Root\Setup\UploadManuals.btm [33] D

0 Dateien kopiert
TCC: D:\Dev\Root\Setup\UploadManuals.btm [33] D

0 Dateien kopiert
TCC: D:\Dev\Root\Setup\UploadManuals.btm [33] D

0 Dateien kopiert
TCC: D:\Dev\Root\Setup\UploadManuals.btm [33] D

0 Dateien kopiert
TCC: D:\Dev\Root\Setup\UploadManuals.btm [33] D
 
Last edited:
May 20, 2009
286
5
56
ITALY
I have a BTM file. I enabled an echo, so the output shows the complete execution.
I use the lates version 26.00.31 x64. I saw this error also in version 22 before... I can see this since years now I ask.

For each file I see a strange warning with a one letter text. Seams that there is a problem with the text output.

-------------------------
REM --- Start connection
iftp /R ftp://anything
FOR %name In ("F:\anypath\Docs\Handbuch*.pdf" "F:\anypath\Docs\Sem*.pdf") ( COPY /g /uf "%name" ftp://anything/anything.de/www2
/sites/default/files/bedienungsanleitung/%@lower[%@replace[ ,_,%@filename[%name]]] )

0 Dateien kopiert
TCC: D:\Dev\Root\Setup\UploadManuals.btm [33] D

0 Dateien kopiert
TCC: D:\Dev\Root\Setup\UploadManuals.btm [33] D

0 Dateien kopiert
TCC: D:\Dev\Root\Setup\UploadManuals.btm [33] D

0 Dateien kopiert
TCC: D:\Dev\Root\Setup\UploadManuals.btm [33] D

0 Dateien kopiert
TCC: D:\Dev\Root\Setup\UploadManuals.btm [33] D
Maybe You have to quote / escape / something else the part "%@lower[%@replace[ ,_,%@filename[%name]]]"?
Maybe there are spaces in the names?

Regards

Rodolfo Giovanninetti
 
Sep 10, 2009
37
0
No definitely not.
This are the names copied:

----
handbuch_ag-vip_sql_administrator.pdf
handbuch_ag-vip_sql_anwender.pdf
handbuch_ag-vip_sql_crm-option.pdf
handbuch_ag-vip_sql_installation.pdf
handbuch_ag-vip_sql_makroprogrammierung.pdf
handbuch_ag-vip_sql_overdial-service.pdf
handbuch_ag-vip_sql_reporting.pdf
handbuch_ag-vip_sql_terminvereinbarung.pdf
handbuch_ag-vip_sql_workflow.pdf
----

It seams that this is a warning in a FTP action.
 
Sep 10, 2009
37
0
I get this strange text on any action when using ftp://

D:\source>copy updateD.txt ftp://anything/download.anything.de
TCC: D
D:\source\updateD.txt => ftp://anything/download.anything.de/updateD.txt
TCC: D
 
May 20, 2009
286
5
56
ITALY
The copy command maybe is an alias?
Also, I do not understand the syntax of these commands.
You write "copy updateD.txt ftp://anything/download.anything.de".
But, if I check the syntax for ftp in an old version of TCC (the new pc in this moment is busy) I see something like "copy updateD.txt ftp://username:password@download.anything.de".
I understand that You cannot write real names, but the syntax is the one that You are using?
I mean "/something/servername"?
As You see, I do not understand the "/something/".

Regards

Rodolfo Giovanninetti
 
Sep 10, 2009
37
0
It doesn't make a difference. I get this warning always when using FTP with a cfg....
I have a ftp.cfg where anything is defined.
 

rconn

Administrator
Staff member
May 14, 2008
11,894
133
I'm unable to reproduce this here (either with or without an FTP.CFG).

The error message is definitely not coming from the FTP code; those errors have a different format. (And they would appear before the "0 files copied" message.)

So I suspect it's something else in your batch file. Do you have an ON ERROR / ERRORMSG / ERRORLEVEL?

Have you tried stepping through it with BDEBUGGER?
 
Thread starter Similar threads Forum Replies Date
V Support 7
V Support 1
A Support 9
CWBillow Support 17
J Support 14