URL Formation via "Copy path + name as text"

This is a place for users to discuss Altap Salamander. Please feel free to ask, answer questions, and express your opinion. Please do not post problems, bug reports or feature requests here.
User avatar
jcgriff2
Posts: 35
Joined: 20 Aug 2008, 21:34
Location: New Jersey, USA
Contact:

URL Formation via "Copy path + name as text"

Post by jcgriff2 »

Hi. . .

Due to Photobucket's recent decision to charge $399/year for 3rd party site linking to Photobucket photos, my tech forum site will be hosting all images, but many hundreds of imbedded URLs need to be changed. I have copied all of the screenshots to our server using Altap -- using the same path and file names as are currently being used. The only portion of the URL that needs to be edited is the beginning portion (site name).

I used Altap Salamander to upload/FTP the images to the server in the appropriate directories, then use "EDIT"; "Copy path + name as text" to obtain the new URL. The problem is the format of the URL that gets copied to the clipboard.

Example:
OLD URL = http://i1207.photobucket.com/albums/bb479/hateater2496/ServicesVista7/disableServices0_zps14aa7056.png

NEW URL =https://www.sysnative.com/writhziden/tutorials/images/ServicesVista7/disableServices0_zps14aa7056.png

Using "EDIT"; "Copy path + name as text" to obtain the new URL using Altap Salamander gives me -
ftp://sysnativ@ftp.sysnative.com/public_html/writhziden/tutorials/images/ServicesVista7/disableServices0_zps14aa7056.png

For each URL obtained this way, I have to manually delete "public_html/" and change the beginning from ftp://sysnativ@ftp to https://www

Is there any way to get a good, clean URL from Altap Salamander where the beginning portion is valid + the public_html is not present?

Thank you for your help in this matter.

Regards. . .

jcgriff2
J. C. Griffith
Microsoft MVP
Windows Expert - IT Pro
http://mvp.microsoft.com/en-us/mvp/John%20C.%20Griffith-4025562
User avatar
SvA
Posts: 483
Joined: 29 Mar 2006, 02:41
Location: DE

Re: URL Formation via "Copy path + name as text"

Post by SvA »

Hi,

The URL returned by AS is valid. You're probably confused about the rather seldomly used username portion (sysnative@).
Wikipedia

A generic URI is of the form:
scheme:[//[user[:password]@]host[:port]][/path][?query][#fragment]
What's the problem about replacing 'ftp://sysnativ@ftp.sysnative.com/public_html' with 'https://www.sysnative.com' ?
User avatar
jcgriff2
Posts: 35
Joined: 20 Aug 2008, 21:34
Location: New Jersey, USA
Contact:

Re: URL Formation via "Copy path + name as text"

Post by jcgriff2 »

Replacing it is not a problem at all -- that's what I usually do. I paste it into a browser address bar, get rid of the "public_html", then get rid of the FTP prefix; replacing it with "www".

I asked if there was an easier way to format the URL as I'm always on FTP and copy a lot of links out to be used in forum posts.

I thought perhaps Salamander had the capability to reformat the FTP link into a useable HTTP link.

It would not be the first time that I've found that Salamander can do something that I knew nothing about.

Thank you,

John
J. C. Griffith
Microsoft MVP
Windows Expert - IT Pro
http://mvp.microsoft.com/en-us/mvp/John%20C.%20Griffith-4025562
Post Reply