How to end FTP session in Chrome, to log in with different credentials?

26,062

Solution 1

It seems there's absolutely no way to do that - exactly logging off the FTP server - at least with versions between 2013 Q4 and 2018 Q1. There are some good workarounds anyhow listed in the answers below.

Solution 2

Opening a new incognito window worked for me.

Solution 3

The healthiest and the easiest way to end FTP session in Google Chrome might be only using Chrome Incognito mode for FTP processes, then closing it when finished those FTP processes.

You can launch incognito by pressing Ctrl + Shift + N, (or) Settings -> New incognito Window, (or) right mouse-click on a link from a regular Chrome session, and select “open link in incognito window”.

Technically ending a FTP session in Google Chrome is complicated or maybe impossible. It only lets you keep connected to FTP server during a single browser session. In most of other browsers this situation is controllable. For example; You can resume to download a file from a FTP server even you have rebooted the system in Firefox FTP session.

Waiting a while to end the FTP session is not also a solution, because cache files are not deleted when Chrome returns ERR_TIMED_OUT. Refreshing page brings credentials of the FTP session back.

Unfortunatelly, there is no suitable solution yet for Google Chrome that I know.

Share:
26,062

Related videos on Youtube

Áxel Costas Pena
Author by

Áxel Costas Pena

Updated on September 18, 2022

Comments

  • Áxel Costas Pena
    Áxel Costas Pena over 1 year

    I've just opened an FTP site through Chrome which requires authentication, and I've logged in with some credentials.

    Now I need to re-log in on that FTP with some different credentials. How can I make Chrome forget about the previous session and ask me for credentials again?

    • nixda
      nixda over 10 years
      What happens if you enter those different credentials right with the URL? Chrome can handle this like any other browser. ftp://username:password@ftpserver/folder
    • Áxel Costas Pena
      Áxel Costas Pena over 10 years
      Nothing. They just become removed from the URL (as usual), and the page is loaded using the old session. In fact, this should be considered a Chrome bug.
    • nixda
      nixda over 10 years
      Hm, does this happen with different browsers too? Second try: What happens if you clear all password data and history (CTRL+SHIFT+DEL?)
    • Áxel Costas Pena
      Áxel Costas Pena over 10 years
      Firefox successfully clears current session if you enter new credentials via URL, even if they are wrong (first notifies the 503 code, then when you reload poage it asks for new credentials).
    • Áxel Costas Pena
      Áxel Costas Pena over 10 years
      If you take a look at the checkboxes available in the clear user data, it's obvious that none will clear an FTP session. And as expected, I checked all, and the session was not cleared.
    • Carl Witthoft
      Carl Witthoft about 7 years
      I'm firmly in the "never use a browser for ftp" camp. CoreFtp for example is much easier to use, allows storage of multiple access names, etc etc
  • Áxel Costas Pena
    Áxel Costas Pena almost 10 years
    This doesn't wipe the chrome ftp session, but it's a cool workaround!
  • Áxel Costas Pena
    Áxel Costas Pena almost 6 years
    As stated in comment above, that doesn't end FTP sessions
  • marbel82
    marbel82 almost 6 years
    @ÁxelCostasPena Yes, it doesn't end FTP sessions, buy you can log in with different credentials as you ask. I apologize for my incomplete answer, now it should be better.
  • Áxel Costas Pena
    Áxel Costas Pena almost 6 years
    Nover mind, it's just for being precise on getting an answer to the exact question title.
  • Scott - Слава Україні
    Scott - Слава Україні almost 6 years
    The OP has already stated  that this does not work for them.
  • Ruslan
    Ruslan almost 6 years
    ... actually above.
  • Áxel Costas Pena
    Áxel Costas Pena almost 6 years
    This could work or none depending on the session handling of the FTP server