V10 B68 problems with ftp

May 20, 2008
3,515
4
Elkridge, MD, USA
1/ IIRC, earlier builds allowed "relative path" specification of the
location of FTP.CFG, i.e., ftpcfg=.\FTP.CFG was accepted as a file in the
TCC's startup directory. Current build interprets the path dynamically, and
if it finds no such file in the current directory, it creates an empty one.
This makes using an FTP.CFG file from a portable drive very cumbersome (I
must first CD to the right FTPCFG directory, execute IFTP, and return - my
future work around is an IFTP alias to do that). A better solution would be
to allow specifying the FTP.CFG file using either an environment variable,
or a directory alias. BTW: are directory aliases allowed in .INI files?

2/ If the ftp connection times out, an attempt to perform a new ftp action
performs an implied IFTP in the current directory, with the same issues as
above attempting to locate FTP.CFG. A simple solution for this problem would
be that any successful IFTP command would save the username and password
information; however, this may result in a security compromise.

3/ Attempting to download the content of an ftp site using the command
copy/s/[d-400] ftp:* .
(where copy is an alias : *copy/[!descript.ion]/efgrhv/net) failed to copy
any files. Both DIR and PDIR with similar selection options worked well. I
got my current task done by editing the DIR command output, and downloading
the individual files in a loop.

--
Steve
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
Steve Fábián wrote:

> 1/ IIRC, earlier builds allowed "relative path" specification of the
> location of FTP.CFG, i.e., ftpcfg=.\FTP.CFG was accepted as a file in the
> TCC's startup directory. Current build interprets the path dynamically, and
> if it finds no such file in the current directory, it creates an empty one.
> This makes using an FTP.CFG file from a portable drive very cumbersome (I
> must first CD to the right FTPCFG directory, execute IFTP, and return - my
> future work around is an IFTP alias to do that). A better solution would be
> to allow specifying the FTP.CFG file using either an environment variable,
> or a directory alias. BTW: are directory aliases allowed in .INI files?

No version of TCC/4NT has ever supported relative paths for any
directive in the .INI, and it is not planned for any future version.
(For several architectural reasons which we've discussed in the past
when you've requested this.)


> 2/ If the ftp connection times out, an attempt to perform a new ftp action
> performs an implied IFTP in the current directory, with the same issues as
> above attempting to locate FTP.CFG. A simple solution for this problem would
> be that any successful IFTP command would save the username and password
> information; however, this may result in a security compromise.

A rather MAJOR security compromise!


> 3/ Attempting to download the content of an ftp site using the command
> copy/s/[d-400] ftp:* .
> (where copy is an alias : *copy/[!descript.ion]/efgrhv/net) failed to copy
> any files.

Not reproducible here. But date ranges can be highly problematic on FTP
sites, because the date format returned varies wildly (and is sometimes
missing altogether).

Rex Conn
JP Software
 
Similar threads
Thread starter Title Forum Replies Date
Stefano Piccardi setdos /x-4 affects alias expansion v10 vs v13 Support 8
B DIR /Z Causes GPF in TCMD V10 B50 Support 5
vefatica Updating v10: error wrong file size Support 2
Roedy Cannot have both v10 and v11 Support 7
vefatica v10 Shift-Tab doesn't complete backwards Support 2
S V10 debugging problems Support 9
rconn Take Command/LE and TCC/LE v10 build 57 uploaded Support 0
rconn Take Command v10 build 57 uploaded Support 0
J V10 "Configure tab toolbar" issues Support 3
rconn Take Command/LE v10 build 56 uploaded Support 3
rconn Take Command v10 build 56 uploaded Support 11
M Is there a way to urlencode strings in v10? Support 0
C TCMD V10 portable Support 3
Charles Dye Crash in TCC.EXE v10.0.0.49 Support 0
J v10 GPF when calling complicated batch files Support 5
rconn Take Command v10 build 49 uploaded Support 0
rconn Take Command / TCMD/LE / TCC/LE v10 release build 48 uploaded Support 2
rconn Take Command / TCMD/LE / TCC/LE v10 beta build 47 uploaded Support 5
rconn Take Command / TCMD/LE / TCC/LE v10 beta build 46 uploaded Support 9
rconn TCMD/LE and TCC/LE v10 build 44 uploaded Support 2
rconn Take Command v10 beta build 44 uploaded Support 1
vefatica Installing both v9 and v10 Support 1
rconn Take Command / TCMD/LE / TCC/LE v10 beta build 43 uploaded Support 9
Peter Bratton v10 IDE / bdebugger Support 10
rconn Take Command v10 beta build 41 uploaded Support 6
rconn Take Command v10 beta build 40 uploaded Support 3
rconn Take Command v10 beta build 39 uploaded Support 18
dcantor Executable file extensions in V10 b 38 Support 5
H IDE v10 questions Support 2
Fross Continue to have issues layout in v10 Support 11
S V10 questions Support 8
rconn Take Command v10 beta build 38 uploaded Support 0
vefatica TCC v10 finding its own icon? Support 4
rconn Take Command v10 beta build 37 uploaded Support 0
Fross CTRL-C in V10 Support 3
rconn Take Command v10 beta build 36 uploaded Support 0
rconn Take Command v10 beta build 35 uploaded Support 0
rconn Take Command v10 beta build 34 uploaded Support 23
S V10 Build 32 Upload Support 0
rconn Take Command v10 beta build 33 uploaded Support 9
H Is "Check for updates" supposed to work in v10? Support 1
rconn Take Command v10 build 32 uploaded Support 9
B DirWinOpen=F6 Doesn't Seem To Work In V10,B031 Support 38
Fross V10.31 Issue - Remembering View Choices Support 5
rconn Take Command v10 build 31 uploaded Support 4
p.f.moore TCMD v10 - Python support - use version 2.6? Support 2
Juanma Barranquero TCMD V10 beta: crash with "dirhistory /g" Support 1
dcantor Take Command V10 @WINPID suggestion. Support 2
rconn Take Command v10 Public Beta Available! Support 0
rconn Suggestions for v10 Support 5

Similar threads