Welcome!

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

SignUp Now!

Strange error messages from TCC in FTP copy

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:
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
 
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.
 
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
 
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:[email protected]".
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
 
The COPY syntax makes sense, since he's using IFTP to open the connection.

The IFTP syntax, on the other hand, does not make sense to me. Maybe he's censoring it.
 
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.
 
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?
 

Similar threads

Back
Top