ift upgrade problem

Sep 24, 2008
23
0
I'm setting up a new workstation and installed the newest version of TCC. But my btm files no longer work correctly.

Old system:
xpPro workstation
Take Command (suite) 8.01.69
btm files with iftp commands targeting a remote Windows 2003 server

New system:
Windows Server 2008 used as a workstation
Take Command 9 downloaded a couple of days ago



I have copied the btm files to the ServerAsWorkstation, and have tried to
run them.

I had to manually associate the btm extension with TCC.exe. (could not
associate with 4nt.exe)

When I run the scripts, the target server is contacted, and folders are
created on the target server, but files are created as zero-length files,
and an error is reported in the script window for each copy attempt:

"425 Can't open data connection"

There is considerable time taken for each file copy attempt and its
related error message.


Do need to modify my scripts to run with the newest TCC version?
 
May 20, 2008
3,515
4
Elkridge, MD, USA
JP Software Forums" <neil@jpsoft.com>; "Kygre wrote:
| I'm setting up a new workstation and installed the newest version of
| TCC. But my btm files no longer work correctly.
|
| Old system:
| xpPro workstation
| Take Command (suite) 8.01.69
| btm files with iftp commands targeting a remote Windows 2003 server
|
| New system:
| Windows Server 2008 used as a workstation
| Take Command 9 downloaded a couple of days ago
|
|
|
| I have copied the btm files to the ServerAsWorkstation, and have
| tried to
| run them.
|
| I had to manually associate the btm extension with TCC.exe. (could not
| associate with 4nt.exe)

There is a batch file in the distribution to do that: tccbatch.btm ...

| When I run the scripts, the target server is contacted, and folders
| are
| created on the target server, but files are created as zero-length
| files,
| and an error is reported in the script window for each copy attempt:
|
| "425 Can't open data connection"
|
| There is considerable time taken for each file copy attempt and its
| related error message.
|
|
| Do need to modify my scripts to run with the newest TCC version?

I suspect the problem is one of permission to actually write the file bodies
to the target drive. You may need to run TCC with more privileges. However,
I have not run on anything newer than WinXP.

The delays are normal - when a write attempt fails, it is usually attempted
again.
--
Steve
 
Sep 24, 2008
23
0
Steve,

Thanks for the info.

Regarding permissions, I am logged in as Administrator on the 2008 server-workstation, and I installed TCC as Administrator. Still it seems possible.

On the other hand, the folders get created, and zero-length files are created... seems like that would include copy privileges...

Kygre


JP Software Forums" <neil@jpsoft.com>; "Kygre wrote:
| I'm setting up a new workstation and installed the newest version of
| TCC. But my btm files no longer work correctly.
|
| Old system:
| xpPro workstation
| Take Command (suite) 8.01.69
| btm files with iftp commands targeting a remote Windows 2003 server
|
| New system:
| Windows Server 2008 used as a workstation
| Take Command 9 downloaded a couple of days ago
|
|
|
| I have copied the btm files to the ServerAsWorkstation, and have
| tried to
| run them.
|
| I had to manually associate the btm extension with TCC.exe. (could not
| associate with 4nt.exe)

There is a batch file in the distribution to do that: tccbatch.btm ...

| When I run the scripts, the target server is contacted, and folders
| are
| created on the target server, but files are created as zero-length
| files,
| and an error is reported in the script window for each copy attempt:
|
| "425 Can't open data connection"
|
| There is considerable time taken for each file copy attempt and its
| related error message.
|
|
| Do need to modify my scripts to run with the newest TCC version?

I suspect the problem is one of permission to actually write the file bodies
to the target drive. You may need to run TCC with more privileges. However,
I have not run on anything newer than WinXP.

The delays are normal - when a write attempt fails, it is usually attempted
again.
--
Steve
 
Sep 24, 2008
23
0
In case I was doing something wrong previously (even though it worked in TCC 8) I'm adding a sample of the scripts that won't run correctly on newest TCC version. Note that folders and zero length files get created on the target.


set SrcFullPath=%SrcDrive%%SrcPath%%SrcFolder%
set Target=ftp://%Lgn%:%Pwd%@%TrgIp%%TrgPath%%TrgFolder%/
iftp %Target%
set Target=ftp:
copy /U %SrcFullPath%\AppSettings%TrgMachine%.config %Target%
copy /U %SrcFullPath%\DbConnect%TrgMachine%.config %Target%
iftp /c

set SrcFullPath=%SrcDrive%%SrcPath%%SrcFolder%\Bin
set Target=ftp://%Lgn%:%Pwd%@%TrgIp%%TrgPath%%TrgFolder%/
iftp %Target%
set Target=ftp:Bin
copy /U /S %SrcFullPath%\*.dll %Target%
dir "ftp:Bin\*.*"



I'm setting up a new workstation and installed the newest version of TCC. But my btm files no longer work correctly.

Old system:
xpPro workstation
Take Command (suite) 8.01.69
btm files with iftp commands targeting a remote Windows 2003 server

New system:
Windows Server 2008 used as a workstation
Take Command 9 downloaded a couple of days ago



I have copied the btm files to the ServerAsWorkstation, and have tried to
run them.

I had to manually associate the btm extension with TCC.exe. (could not
associate with 4nt.exe)

When I run the scripts, the target server is contacted, and folders are
created on the target server, but files are created as zero-length files,
and an error is reported in the script window for each copy attempt:

"425 Can't open data connection"

There is considerable time taken for each file copy attempt and its
related error message.


Do need to modify my scripts to run with the newest TCC version?
 
May 30, 2008
42
0
From: JP Software Forums
Sent: Thursday, September 25, 2008 12:27 PM
Subject: RE: [Support-t-498] Re: ift upgrade problem
[snip]

> "425 Can't open data connection"
>
> There is considerable time taken for each file copy attempt and its
> related error message.

I have to say, the symptoms look remarkably like having a firewall
discarding the connection request that the server makes back to the client
for the file transfer. Are the two machines plugged into the same network
with exactly the same configuration? Is the original machine acting as a
"DMZ" on a NATted LAN? Double-check that the Windows Server 2008 machine
does not have its firewall on, or if it does and you want it on, that it is
making an exception for the FTP connections you need.

Jonathan Gilbert
 
Sep 24, 2008
23
0
Yes it could be the serverworkstation firewall. I've just looked at Windows Firewall on Server 2008, and can't figure out exactly what to do.

I can add TCC.exe, but there are a lot of options in the wizard that I have know idea how to set. The firewall on server is way more involved than on Vista.

Does anyone have a suggestion?

Thanks,

Kyle



From: JP Software Forums
Sent: Thursday, September 25, 2008 12:27 PM
Subject: RE: [Support-t-498] Re: ift upgrade problem
[snip]



I have to say, the symptoms look remarkably like having a firewall
discarding the connection request that the server makes back to the client
for the file transfer. Are the two machines plugged into the same network
with exactly the same configuration? Is the original machine acting as a
"DMZ" on a NATted LAN? Double-check that the Windows Server 2008 machine
does not have its firewall on, or if it does and you want it on, that it is
making an exception for the FTP connections you need.

Jonathan Gilbert
 
Sep 24, 2008
23
0
The problem may be solved. I tried adding 4nt.exe to the inbound rules and the script started working. Adding tcc.exe was not enough.

I'll have to do a few more tests to be sure, but it looks ok now.

Thanks,

Kyle
 
Similar threads
Thread starter Title Forum Replies Date
R Upgrade TCMD 19 to TCC 26 Support 1
S How to? Upgrade Question: What supporting documentation is required at time of purchase? Support 2
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
J Upgrade eligilibility Support 2
CWBillow Upgrade process Support 7
C Forum upgrade Support 0
vefatica Was there a forum upgrade? Support 6
newbie Upgrade from v15 to v21 Support 9
lassevk Eligibility for upgrade pricing? Support 1
D Upgrade issue Support 3
D Upgrade from 19 to 19.10 fails Support 2
C Upgrade to v19.10.42 fails Support 5
nickles Conditions of upgrade to 19 Support 1
rconn News Forum Upgrade Support 7
C Forum upgrade msg this AM ? Support 1
T Deleting v.16 after upgrade Support 1
nickles Upgrade to 17 Support 1
vefatica Upgrade error Support 10
Dragineez Upgrade Qualification Support 5
keithg1964 Upgrade 16.00.25 to 16.00.27 Error Support 1
M Upgrade Question Support 2
vefatica Upgrade to build 28 Support 18
rconn News Forum Software Upgrade Support 0
N General steps to upgrade from 4NT3? Support 30
vefatica Failed upgrade to build 39 Support 6
rconn Forum software upgrade Support 10
rconn vBulletin upgrade and email integration Support 56
R Observations following recent upgrade to TC13 Support 1
rconn Forums upgrade Support 0
D Upgrade from b12 fails Support 5
N Shortcut stops working after 4NT to TCC Upgrade Support 73
C No upgrade message Support 1
R %+ works differently after upgrade Support 3
J Which version to upgrade to? Support 14
D upgrade policy Support 5
Dick Johnson Weird Color Problem Support 8
fishman@panix.com Problem with 27.15 Support 2
M Problem with VSDevCmd.bat in VS 16.7.3 Support 0
R Problem with @INT[ value] in V26 Support 9
M Selecting test "off by one" problem in Take command Support 4
Alpengreis UTF-8 problem in TCC related to Python Support 7
K_Meinhard Small problem in german IDE 26 Support 3
B Problem with color in nested shells Support 1
Joe Caverly Problem creating and switching to a DESKTOP Support 9
vefatica Another popup problem Support 10
Alpengreis ffind dialog (/W) problem Support 4
Alpengreis [TCMD v25.00.24] Small space problem with the DE translation in Prefs-GUI Support 1
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
A Problem with functions @int @decimal and identifying Powershell as a shell. Support 12
B IF command problem in tcexit.btm Support 9

Similar threads