IFTP and active FTP

May 20, 2008
11,400
99
Syracuse, NY, USA
This problem remains, but has changed. With build 54 ...

With 'iftp "ftp://lucky/4plugins/test"', 'do i=8 to 20 ( copy ftp:%i.bin )' still fails for files big enough (426 Data connection unexpectedly closed), but now, for smaller files bigger than one packet, 1360 bytes are saved (as opposed to 1460 previously).
 
Last edited:
Apr 2, 2011
1,441
10
54
North Carolina, USA
Code:
[C:\test]ver /r & iftp "ftp://lucky.syr.edu/4plugins/test" & do i=8 to 20 ( copy /q ftp:%i.bin ) & dir & iftp /c

TCC  16.03.53 x64   Windows 7 [Version 6.1.7601]
TCC Build 53   Windows 7 Build 7601  Service Pack 1
Registered to Charles S. Galloway - 5 System License
TCC: FTP protocol error: 426 Data connection unexpectedly closed, file transfer /4plugins/test/18.bin aborted by client. "/4plugins/test/18.bin"
TCC: FTP protocol error: 426 Data connection unexpectedly closed, file transfer /4plugins/test/19.bin aborted by client. "/4plugins/test/19.bin"
TCC: FTP protocol error: 426 Data connection unexpectedly closed, file transfer /4plugins/test/20.bin aborted by client. "/4plugins/test/20.bin"

Volume in drive C is Win7_Galloway   Serial number is aea6:a855
Directory of  C:\test\*

6/23/2014  21:26         <DIR>    .
6/23/2014  21:26         <DIR>    ..
6/04/2014  21:52             256  8.bin
6/04/2014  21:52             512  9.bin
6/04/2014  21:52           1,024  10.bin
6/04/2014  21:52           1,460  11.bin
6/04/2014  21:52           1,460  12.bin
6/04/2014  21:52           1,460  13.bin
6/04/2014  21:52           1,460  14.bin
6/04/2014  21:52           1,460  15.bin
6/04/2014  21:52           1,460  16.bin
6/04/2014  21:52           1,460  17.bin
            12,012 bytes in 10 files and 2 dirs    40,960 bytes allocated
   351,830,556,672 bytes free

[C:\test]

Passive FTP is OFF. If PassiveFTP is ON - the results are as expected....
 
Apr 2, 2011
1,441
10
54
North Carolina, USA
Code:
[C:\test]ver /r & iftp "ftp://lucky.syr.edu/4plugins/test" & do i=8 to 20 ( copy /q ftp:%i.bin ) & dir & iftp /c

TCC  16.03.54 x64   Windows 7 [Version 6.1.7601]
TCC Build 54   Windows 7 Build 7601  Service Pack 1
Registered to Charles S. Galloway - 5 System License
TCC: FTP protocol error: 426 Data connection unexpectedly closed, file transfer /4plugins/test/18.bin aborted by client. "/4plugins/test/18.bin"
TCC: FTP protocol error: 426 Data connection unexpectedly closed, file transfer /4plugins/test/20.bin aborted by client. "/4plugins/test/20.bin"

Volume in drive C is Win7_Galloway   Serial number is aea6:a855
Directory of  C:\test\*

6/23/2014  21:36         <DIR>    .
6/23/2014  21:36         <DIR>    ..
6/04/2014  21:52             256  8.bin
6/04/2014  21:52             512  9.bin
6/04/2014  21:52           1,024  10.bin
6/04/2014  21:52           1,460  11.bin
6/04/2014  21:52           1,460  12.bin
6/04/2014  21:52           1,460  13.bin
6/04/2014  21:52           1,460  14.bin
6/04/2014  21:52           1,460  15.bin
6/04/2014  21:52           1,460  16.bin
6/04/2014  21:52           1,460  17.bin
6/04/2014  21:52           1,985  19.bin
            13,997 bytes in 11 files and 2 dirs    45,056 bytes allocated
   350,820,823,040 bytes free

[C:\test]

b54 doesn't work if PassiveFTP is OFF....
 
May 20, 2008
11,400
99
Syracuse, NY, USA
No, you're not -- you're neglecting to mention that you replaced ipworksssl9.dll (which does all FTP in TCC) with an old version.
No, I'm using the new one downloaded as suggested in your announcement. If I were using the one from v15, it would work!
 
May 20, 2008
11,400
99
Syracuse, NY, USA
Your original "behavior has changed" report in this thread was before I posted the ipworksssl9.dll fix.
No, it was 3 hours, 20 minutes later.
upload_2014-6-24_10-43-55.png
 
Jun 24, 2008
223
0
Siegen, Germany
Same here. Having used

mv "ftp://%admin%:%admin_pass%@%server%/%archive%" .

for a long time, it stopped working (don't remember the version, maybe 49). Then it was fixed, and has reappeared with 54 (or before).
Whichever version it was, right now I have to resort to a plethora of "real" FTP commands to get the job done...

Would be nice to see that fixed.
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
Same here. Having used

mv "ftp://%admin%:%admin_pass%@%server%/%archive%" .

for a long time, it stopped working (don't remember the version, maybe 49). Then it was fixed, and has reappeared with 54 (or before).
Whichever version it was, right now I have to resort to a plethora of "real" FTP commands to get the job done...

Do you have passive FTP turned off? (And if so, why?)
 
May 20, 2008
11,400
99
Syracuse, NY, USA
Rex, FWIW, in spite of your router's firewall, you should be able to test this by turning on the Windows FTP server and IIS management console features. With very little effort, and with no messing with the firewall, you should be able to connect on the localhost interface. I did so and again observed the problem with active FTP and IFTP. In fact, the firewall wasn't messed with automatically at all. So that I could test from the outside, I had to manually enable all the FTP-associated built-in rules. And even that wasn't enough. I noticed that the outbound rule specified only port 20. Only when I added my own rule for local port 21 outbound could I connect from work.
upload_2014-6-26_17-27-6.png
 
Similar threads
Thread starter Title Forum Replies Date
cgunhouse Problems With IFTP Support 3
vefatica IFTP and SFTP Support 7
vefatica WAD IFTP timeout? Support 3
B when doing SFTP via IFTP to my secure site my users always get the finger print key prompt Support 1
S iftp copying pgp files from ftp is not working Support 11
cgunhouse IFTP "/S" Option Support 6
vefatica WAD IFTP - old problem still there Support 2
cgunhouse IFTP Path Issue in V17 - Fixed Support 7
vefatica Both IFTP problems remain in build 50 Support 35
vefatica More on IFTP Support 7
vefatica IFTP problems (broken pipe?) Support 24
cgunhouse Foldermonitor and iftp Support 1
Charles Dye Minor nit: DIR /F, IFTP, colorization Support 4
Charles Dye IFTP, current directory, open new connection Support 0
D iftp problem Support 2
D iftp failure after upgrading to build 65 Support 9
S FTP site; IFTP access Support 10
K iftp script copy deletes target files Support 17
J Problems with FTP after IFTP timeout Support 2
P iftp with ftp proxy Support 0
J IFTP issue Support 1
nikbackm IFTP questions Support 3
D "534 Fallback to [C]" after iftp Support 7
Joe Caverly The requested lookup key was not found in any active activation context Support 3
dcantor Identity of active window Support 2
S How to? Identify which monitor is active Support 5
S DESKTOP - identify current active ? Support 4
C Active FTP Problems Support 4
Juanma Barranquero Windows crash on suspend/hibernate with TCMD active Support 10
N TCC doesnt respect active codepage? Support 7
M Strange error messages from TCC in FTP copy Support 7
vefatica FTP SSL, how do I see it work? Support 3
P Problem with FTP copies Support 10
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
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
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

Similar threads