copy ftp address

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Tabu
Junior Member
Junior Member
Posts: 5
Joined: 2005-07-27, 23:15 UTC

copy ftp address

Post by *Tabu »

ok, I loked for this around, and cant seem to find anything that tell me if this is possible.

I want to copy stuff to my FTP server, after that i need to get the adress, and send it to the people that need to get the files.. giving them acces to my ftp is not an option, they will have to get it through http (ie their internet browser) so i need the adress, to be easily copied to the clipboard.. is there any way tcmd can do this?
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Use the
cm_CopyFullNamesToClip (Copy names with full path)
command in the buttonbar, or Start menu or define a key for it.
I switched to Linux, bye and thanks for all the fish!
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

That will not give you what you want because full name will include your account name which is not what you have on http.

But, you can create script that will replace that unwanted prefix with correct path to your http.

U can replace common string in batch file with syntax:
%VAR:str1=str2%

For instance if your ftp file name is "ftp://username/folder/file" and your http name is "www.myweb.com/file" then you can do this

Code: Select all

set NAME=ftp://username/folder/file
echo %NAME:ftp://username/folder=www.myweb.com/%
Then tell TC to redirect filenames as argument to your script.
You can copy parsed links to clipboard at the end with winclip
Last edited by majkinetor ! on 2006-01-26, 12:17 UTC, edited 2 times in total.
Habemus majkam!
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Lefteous has an extension for TC, maybe that will do the trick?
http://www.lefteous.de/tc/lst2clip_eng.htm
I switched to Linux, bye and thanks for all the fish!
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

It is not developed any more... IIRC.
Habemus majkam!
Tabu
Junior Member
Junior Member
Posts: 5
Joined: 2005-07-27, 23:15 UTC

Post by *Tabu »

Sorry for the late reply, even tho' therer is a few things I have to add (Some of the stuff majkinetor mentioned) this works as inteded :) Thx a lot SanskritFriz :)
HAL 9000
Senior Member
Senior Member
Posts: 384
Joined: 2007-09-10, 13:05 UTC

Post by *HAL 9000 »

hello, that was what i needed... i get adress like

0:/html/FOLDER1/link.html

and wanted

http://www.myadress.com/FOLDER1/link.html


SOLUTION:
http://www.totalcmd.net/plugring/list2clip.html
drag EXE file into the button bar, and thand right click it and add

change command:
%COMMANDER_PATH%\Addons\Lst2Clip\Lst2Clip.exe /P:"http://www.myadress.com" /R:"0:/html"="" /R:"\"=""
change parameter:
/L:"%L"
keywords: subtitle url adress FTP link change to url 0:/ 0 to www vonkuttenberg
Post Reply