copy ftp address
Moderators: Hacker, petermad, Stefan2, white
copy ftp address
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?
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?
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
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
Then tell TC to redirect filenames as argument to your script.
You can copy parsed links to clipboard at the end with winclip
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/%
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!
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
Lefteous has an extension for TC, maybe that will do the trick?
http://www.lefteous.de/tc/lst2clip_eng.htm
http://www.lefteous.de/tc/lst2clip_eng.htm
I switched to Linux, bye and thanks for all the fish!
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
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:
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:
change parameter:%COMMANDER_PATH%\Addons\Lst2Clip\Lst2Clip.exe /P:"http://www.myadress.com" /R:"0:/html"="" /R:"\"=""
keywords: subtitle url adress FTP link change to url 0:/ 0 to www vonkuttenberg/L:"%L"