Cyberduck Mountain Duck CLI

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6040 closed defect (fixed)

CDN URL options

Reported by: samsen Owned by: dkocher
Priority: normal Milestone: 4.1
Component: cloudfiles Version: 4.0.2
Severity: normal Keywords:
Cc: Architecture: Intel
Platform: Windows 7

Description (last modified by dkocher)

Quite often we need to email a link to a file on RackSpace CloudFiles, that's in a CloudFiles container. Since these could be large video files, giving them a link is the fastest most efficient thing to do.

However:

  1. Under windows, CopyURL doesn't copy the URL to the clipboard so that it can be pasted.
  1. And if it does, it should be the external URL that is copied, and preferably the the CNAMEd URL if it exists.

Currently the only option is to download file, because there is no way to highlight and copy the link, even though we can see it on the screen. So we have to resort to using FireUploader for that single function.

So would be good if:

  1. The Copy URL worked
  1. And like it is in FireUploader, change the type of the control that any URLs are displayed in, in the Info Pop-up, can be highlighted with the <left><down> dragging of the mouse pointer, and then copying to the clipboard with <CTRL>C. This would allow the user to pick the URL they want to copy.
  1. If it it possible, show any CNAMEd URLs to the file, by reading the DNS system, using the new RackSpace API for that purpose.

Attachments (4)

CyberDuck1CopyURLdoesntLoadClipboard.png (92.9 KB) - added by samsen 7 years ago.
CopyURL doesn't work in Windows
CyberDuck2OpenURLrequiresDownloadofLargeFiles.png (93.5 KB) - added by samsen 7 years ago.
Open URL involves the download of what could be large files
CyberDuck3InfoCantGrabURL.png (93.6 KB) - added by samsen 7 years ago.
Cannot Grab URL from Info Popup
CyberDuck4ResortToUsingFireUploaderToGetURL.png (104.4 KB) - added by samsen 7 years ago.
Need to resort to using FireUploader to Get URL (not convenient)

Download all attachments as: .zip

Change History (17)

Changed 7 years ago by samsen

CopyURL doesn't work in Windows

Changed 7 years ago by samsen

Open URL involves the download of what could be large files

Changed 7 years ago by samsen

Cannot Grab URL from Info Popup

Changed 7 years ago by samsen

Need to resort to using FireUploader to Get URL (not convenient)

comment:1 Changed 7 years ago by dkocher

Replying to samsen:

  1. Under windows, CopyURL doesn't copy the URL to the clipboard so that it can be pasted.

The CDN (Akamai) URL is unknown until after you have selected File → Info for any file in a given CDN enabled container. We currently do not preload CDN container information.

Last edited 7 years ago by dkocher (previous) (diff)

comment:2 in reply to: ↑ description Changed 7 years ago by dkocher

Replying to samsen:

  1. And if it does, it should be the external URL that is copied, and preferably the the CNAMEd URL if it exists.

The CNAME is not known as for Rackspace this is only managed in the DNS itself but is not part of the management API.

comment:3 Changed 7 years ago by dkocher

  • Milestone set to 4.1
  • Resolution set to fixed
  • Status changed from new to closed

In r8847.

comment:4 follow-ups: Changed 7 years ago by samsen

"The CDN (Akamai) URL is unknown until after you have selected File → Info for any file in a given CDN enabled container. We currently do not preload CDN container information."

But the OpenURL works as you see in my screen shots, so you must have the URL... the issue described is the that URL is NOT copied to the clipboard. And no mention is made whether this has been fixed or not.

And no mention has been made whether the URL(s) can be cut an pasted from the FileInfo pop-up, so it's not 'clear' what has been 'fixed'.

"The CNAME is not known as for Rackspace this is only managed in the DNS itself but is not part of the management API."

Yes, I should have broken this into TWO tickets, one was a defect, and another was an enhancement request/suggestion. The point about CNAMEs, is that you do have the account name and API key, so you have access to the DNS via their new API, using those two values. A query in the DNS for any URL that matches the CDN URL you show in FileInfo, would return any CNAMES that have been assigned to it. You would only need to implement it FileInfo, as there it would be a simple single file lookup (that could return 0 or more entries, though most often it would be 0 or 1 results).

comment:5 in reply to: ↑ 4 Changed 7 years ago by dkocher

Replying to samsen:

"The CDN (Akamai) URL is unknown until after you have selected File → Info for any file in a given CDN enabled container. We currently do not preload CDN container information."

But the OpenURL works as you see in my screen shots, so you must have the URL... the issue described is the that URL is NOT copied to the clipboard. And no mention is made whether this has been fixed or not.

Please update to the latest snapshot build available. Using the latest build should list the CDN URL in the Edit → Copy URL menu.

comment:6 in reply to: ↑ 4 Changed 7 years ago by dkocher

Replying to samsen:

A query in the DNS for any URL that matches the CDN URL you show in FileInfo, would return any CNAMES that have been assigned to it. You would only need to implement it FileInfo, as there it would be a simple single file lookup (that could return 0 or more entries, though most often it would be 0 or 1 results).

From what I know DNS does not support such queries.

Last edited 7 years ago by dkocher (previous) (diff)

comment:7 in reply to: ↑ 4 Changed 7 years ago by dkocher

Replying to samsen:

And no mention has been made whether the URL(s) can be cut an pasted from the FileInfo pop-up, so it's not 'clear' what has been 'fixed'.

In File → Info it should be possible to right-click on the URL to copy it to the clipboard.

comment:8 follow-up: Changed 7 years ago by samsen

"From what I know DNS does not support such queries."

Again, RackSpaceCloud has very recently released an API, that with the AccountName, and APIkey will return a complete list of CNAMEs from the DNS, and probably a short list of CNAMEs related to a given base CDN URL. http://www.rackspace.com/cloud/blog/2011/03/21/announcing-rackspace-cloud-dns-api-private-beta-for-us-uk-cloud-customers/ Your Users have Given your application that same AccountName, and APIkey to be able to connect to their cloudfiles site.

comment:9 in reply to: ↑ 8 ; follow-up: Changed 7 years ago by dkocher

Replying to samsen:

"From what I know DNS does not support such queries."

Again, RackSpaceCloud has very recently released an API, that with the AccountName, and APIkey will return a complete list of CNAMEs from the DNS, and probably a short list of CNAMEs related to a given base CDN URL. http://www.rackspace.com/cloud/blog/2011/03/21/announcing-rackspace-cloud-dns-api-private-beta-for-us-uk-cloud-customers/ Your Users have Given your application that same AccountName, and APIkey to be able to connect to their cloudfiles site.

The problem with this approach is that the solution will only work for the percentile of users that actually manage DNS with Rackspace.

comment:10 in reply to: ↑ 9 ; follow-up: Changed 7 years ago by samsen

Replying to dkocher:

Replying to samsen:

"From what I know DNS does not support such queries."

Again, RackSpaceCloud has very recently released an API, that with the AccountName, and APIkey will return a complete list of CNAMEs from the DNS, and probably a short list of CNAMEs related to a given base CDN URL. http://www.rackspace.com/cloud/blog/2011/03/21/announcing-rackspace-cloud-dns-api-private-beta-for-us-uk-cloud-customers/ Your Users have Given your application that same AccountName, and APIkey to be able to connect to their cloudfiles site.

The problem with this approach is that the solution will only work for the percentile of users that actually manage DNS with Rackspace.

Good point. We noticed (probably on spec) that you opened up a field on the Info Tab of your latest snapshot. Sorry about being a 'noob' again, but without using an API, how else can you automatically find the CNAME for a CDN URL? Is there a more generic way of doing it? I thought that the purpose of a CNAME is to hide CDN URL, and it's not clear to me how one can go in reverse to find the CNAME without an API provided by Hosting Provider. While using external CNAME services is possible, doesn't that double the bandwidth charges? And if so, I pretty sure that in most cases someone using RackSpace to host their CDN content, would use the DNS services in their account also. Again, I may not have a clue how things work, but this seems logical to me.

comment:11 Changed 7 years ago by dkocher

  • Description modified (diff)
  • Summary changed from CopyURL not working an no Other Options to grab URL are available. to CDN URL options

comment:12 in reply to: ↑ 10 Changed 7 years ago by dkocher

Replying to samsen:

Good point. We noticed (probably on spec) that you opened up a field on the Info Tab of your latest snapshot. Sorry about being a 'noob' again, but without using an API, how else can you automatically find the CNAME for a CDN URL? Is there a more generic way of doing it? I thought that the purpose of a CNAME is to hide CDN URL, and it's not clear to me how one can go in reverse to find the CNAME without an API provided by Hosting Provider. While using external CNAME services is possible, doesn't that double the bandwidth charges? And if so, I pretty sure that in most cases someone using RackSpace to host their CDN content, would use the DNS services in their account also. Again, I may not have a clue how things work, but this seems logical to me.

It doesn't matter what DNS provider you use to point a CNAME to the CDN. And I guess the majority won't even bother about the DNS solutions offered by Rackspace (in beta) if an existing infrastructure already exists.

This is different to Amazon CloudFront, where you are required to provide the CNAMEs you configure in the DNS to CloudFront (using the API). CloudFront only answers HTTP requests with a Host header that match these. Therefore there is an input field to in the Info → CDN window.

comment:13 Changed 7 years ago by yla

Copy URL as context menu command available as of r8861.

Note: See TracTickets for help on using tickets.
swiss made software