Welcome!

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

SignUp Now!

Add Recognition of Directory Aliases with IFTP

Jun
760
16
Here's another request to incIude recognition of directory aliases with a TCC command.

I create directory aliases for FTP sites to make it easier to connect to them. For example,

Code:
ftpplug:=fatica:4plugins/x64/
fatica:=ftp://fatica/

I can then run

Code:
[TCC34.01.27 | C:\Users\Jay]
>*dir ftpplug:

 Directory of  ftp://fatica/4plugins/x64/*

 2/04/2025  14:36         <DIR>    .
 2/04/2025  14:36         <DIR>    ..
 2/15/2020   0:00         <DIR>    OldStuff
 8/22/2021   0:00           4,728  4autotray64-new.zip
12/02/2014   0:00          90,620  4autotray64.zip
 etc.

Unfortunately, I cannot run the IFTP command with those aliases unless I manually include the @FULL or @TRUENAME function.

Code:
[TCC34.01.27 | C:\Users\Jay]
>iftp ftpplug:
TCC: [11001] Host not found "ftpplug:"

[TCC34.01.27 | C:\Users\Jay]
>iftp %@full[ftpplug:]

[TCC34.01.27 | C:\Users\Jay]
>*dir ftp:

 Directory of  ftp://vefatica.net/4plugins/X64/*

 2/04/2025  14:36         <DIR>    .
 2/04/2025  14:36         <DIR>    ..
 2/15/2020   0:00         <DIR>    OldStuff
 8/22/2021   0:00           4,728  4autotray64-new.zip
12/02/2014   0:00          90,620  4autotray64.zip
etc.

P. S. In case it wasn't clear, the site "fatica" in my examples above is defined in my ftp.cfg file, where the full server name vefatica.net and my login information are stored.
 
Last edited:
Back
Top