Copy URL to clipboard command
Moderator: Project members
Copy URL to clipboard command
Command output is not compatible with input required for Insert URL link in email. I always have to modify it to make it work. Here is an example.
FileZilla "Copy URL to clipboard" outcome is ftp://rpeftp%2540rpefire.com@ftp.rpefir ... %20PDF.zip
Input required by email editor http://www.rpefire.com/_Mix/Madison%20PDF.zip
As it can be seen, ftp prefix needs to be changed to http://www and /public_html has to be manually removed.
Is there a way to avoid all these modifications? Thank you
FileZilla "Copy URL to clipboard" outcome is ftp://rpeftp%2540rpefire.com@ftp.rpefir ... %20PDF.zip
Input required by email editor http://www.rpefire.com/_Mix/Madison%20PDF.zip
As it can be seen, ftp prefix needs to be changed to http://www and /public_html has to be manually removed.
Is there a way to avoid all these modifications? Thank you
Re: Copy URL to clipboard command
That is to be expected. FileZilla is an FTP/SFTP client, so it doesn't know anything about HTTP(S) URLs. (S)FTP and HTTP(S) are completely different services.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
Re: Copy URL to clipboard command
Thank you very much for clarification!
I just imagine a small check box "copy link as HTTP(S)-compatible"...
I just imagine a small check box "copy link as HTTP(S)-compatible"...
Re: Copy URL to clipboard command
Unfortunately not possible, there is no way to get a HTTP URL corresponding to an FTP URL in a generic way. The best that can be done is to replace ftp:// with http://, but that's so wrong in most cases, that it's better done manually.
Re: Copy URL to clipboard command
Since I was waiting for a feature like this to basically search and replace for the start of the copied URL, I created this AutoHotkey script to do that for me. When text starting with your username FTP URL appears in the clipboard, it modifies the start of it and overwrites the clipboard. You might wanna use it too!
As it is posted, it would turn
sftp://userblabla@example.com/index.html
to
http://example.com/index.html
Code: Select all
#Persistent
return
OnClipboardChange:
; Check if clipboard contains textual content.
if (A_EventInfo = 1)
{
; Check if the clipboard text starts with an FTP URL.
if (InStr(Clipboard, "sftp://userblabla@") = 1)
{
Clipboard := StrReplace(Clipboard, "sftp://userblabla@", "http://")
}
}
return
sftp://userblabla@example.com/index.html
to
http://example.com/index.html
Re: Copy URL to clipboard command
Ray,
Just created AHK file and placed it in Windows Startup folder. Works great! Thank you very much!
Just created AHK file and placed it in Windows Startup folder. Works great! Thank you very much!
- schroef
- 504 Command not implemented
- Posts: 8
- Joined: 2017-08-04 16:21
- First name: Rombout
- Last name: Versluijs
Re: Copy URL to clipboard command
It would be great if we could enter a base URl and then also have the option to copy/paste the file URL without ftp path. I remember this function in Transmit, its very usefull. How many times dont you need to check a file. Now each time we need to alter the copied address.
What is the use for a ftp address?
EDIT
i just checked how it was done in Transmit. There we have a option to either copy url or copy path. Copy URL give the www address and copy path give the FTP address. Thats seems to make more logic i guess.
See attached image for input settings
What is the use for a ftp address?
EDIT
i just checked how it was done in Transmit. There we have a option to either copy url or copy path. Copy URL give the www address and copy path give the FTP address. Thats seems to make more logic i guess.
See attached image for input settings
- Attachments
-
- Screen Shot 2017-08-04 at 12.42.54 PM.png (165.92 KiB) Viewed 13845 times
Re: Copy URL to clipboard command
Hi !
I'm new here and I would like to re-open this topic, because I think that getting a HTTP or HTTPS url from your software should be possible.
We (users) could add a "root url" (that is the main URL of our website) into the website manager, like in Transmit or the old Fireftp (for firefox 56).
Then we could get the URL of the file that is on the distant server.
What do you think about this?
May you add the feature a bit later?
Thanks for reading.
I'm new here and I would like to re-open this topic, because I think that getting a HTTP or HTTPS url from your software should be possible.
We (users) could add a "root url" (that is the main URL of our website) into the website manager, like in Transmit or the old Fireftp (for firefox 56).
Then we could get the URL of the file that is on the distant server.
What do you think about this?
May you add the feature a bit later?
Thanks for reading.
- schroef
- 504 Command not implemented
- Posts: 8
- Joined: 2017-08-04 16:21
- First name: Rombout
- Last name: Versluijs
Re: Copy URL to clipboard command
They dont like new adds or items which speedup workflow?
This is quiet a big time saver, how about testing links, copying. Now i need to redo all those step fixing the url.
Wonder if they even check this forum???
This is quiet a big time saver, how about testing links, copying. Now i need to redo all those step fixing the url.
Wonder if they even check this forum???
Re: Copy URL to clipboard command
There is no mapping between FTP and HTTP URLs. http://example.com/pub/docs/file.txt could be the same as ftp://example.com/docs/public/txt.file
These things cannot be automated reliably.
These things cannot be automated reliably.
-
- 500 Command not understood
- Posts: 3
- Joined: 2013-04-27 13:59
- First name: Thurston
- Last name: Pratt
Re: Copy URL to clipboard command
The excuses that you can't reliably map FTP to HTTPs URLs is total BS. It can be done with caveats that would satisfy 99% of the people needing it and manually work around it EVERYDAY. Its just laziness and snobbiness that this feature doesn't exist. Instead of having a feature that would be valued and useful, it's pig-headed developers who lord over us with technical semantics and excuses.
--
--
-
- 500 Command not understood
- Posts: 3
- Joined: 2013-04-27 13:59
- First name: Thurston
- Last name: Pratt
Re: Copy URL to clipboard command
They don't want to solve problems, the man just wants to keep us all down.