Page 1 of 1

About the URL given by FileZilla

Posted: 2020-05-05 02:29
by MandingoPC
Hey there, im really new in Web, and im using free hostings for now (until be more experience and really need a paid host)

I can see and read, that Filizila can't resolve a correct URL when you upload a file to the server.

and i saw in the server manager of Filezilla two thinks with relation to the link given by RMB on the HTML file uploaded.

for now im looking for and testings some free servers, and all have the following format:

URL Given by RMB on the uploaded file: ftp://554778_userExample@serverexample.hosting.net/Path-Files/Other-Sub-Path/FinalExample.html

Info to connect with the server in FileZilla's server manager:

Server: serverexample.hosting.net
FTP User: 554778_userExample

also maybe someone hosting servers, use the folder "htcdocs") and filezilla put this folder in t he path, but in the truth URL HTML isnt valid.

My quesion is if this format (detailed in colors) Are ALWAYS THE SAME in all cases when someone upload any to free/paid server. (incluiding the case of htcdocs)

Thanks.

Re: About the URL given by FileZilla

Posted: 2020-05-05 06:15
by boco
I can see and read, that Filizila can't resolve a correct URL when you upload a file to the server.
Define "correct". FileZilla is NOT a website tool, it is an FTP (and SFTP) client. The URL you get from it is the correct, valid FTP URL. You cannot expect an HTTP URL from an FTP client, as both are different services.
URL Given by RMB on the uploaded file: ftp://554778_userExample@serverexample.hosting.net/Path-Files/Other-Sub-Path/FinalExample.html
That's the correct FTP URL (link to the file on the FTP server). Passwords are not included in FTP URLs for security reasons. That is usually NOT the URL you enter into a browser, you need to find the HTTP URL yourself.


You seem to be very confused with URLs. Here's the rundown:

- Each URL starts with the protocol identifier (protocol ID for short). This part of the URL shows you which service it belongs to. FileZilla provides you with FTP URLs (starting with ftp://), browsers usually need HTTP (http:// or https://) URLs.

- The problems with URLs for different services is, that the paths will often not match. So, a "htdocs" directory present in the FTP URL will almost certainly not be in the HTTP URL. For that reason, FileZilla cannot give you HTTP URLs - because it doesn't know them.

- Please also note that public HTTP URLs will not contain usernames or passwords. How the correct domain name (URL to enter in a browser) for your website looks, should be displayed by the hosting service you signed up with. Free hosting will usually not provide you with a domain name of your own.

Re: About the URL given by FileZilla

Posted: 2020-05-05 07:41
by MandingoPC
Im not confused, english isnt my native language. FileZilla give a correct adress for FPT, no dude. But is uselss for the browsers. However, the adress is "convertible" To URL Adress, but i need only know it:

if the format of the FTP URL given by FileZilla (or other) is always " User@Server/Rest_of_persona_url_user/example.html

Re: About the URL given by FileZilla

Posted: 2020-05-05 09:57
by boco
I can't speak for other programs, but FileZilla will give the FTP URL in this format, yes. Note that this syntax is an established standard, so, others may follow it, too.

While the URL might be useless for browsers, FileZilla has nothing to do with browsers and HTTP. Many tutorials present FileZilla as website tool, which it explicitly isn't. It's just happenstance that website hosting companies offer FTP as a way to upload website files.

Re: About the URL given by FileZilla

Posted: 2020-05-05 17:18
by MandingoPC
Great, very thanks for the info. really i needed know it