-2

My hard drive crashed, but I have WinSCP configuration saved to winscp.ini

So I bought a new hard drive and formatted my PC and installed a WinSCP on my computer

Now I want to import the .ini file so that I have my saved sessions.

Martin Prikryl
  • 147,050
  • 42
  • 335
  • 704
PHP_USER1
  • 618
  • 1
  • 13
  • 28
  • Define "hard drive is crash." Can you still access the data on the old drive? If you can't, copy the file from it to the new drive. If you can't, then you can't get the file. – David May 10 '14 at 13:38
  • My hard drive is crash before crashing I have export the winscp settings and saved it as a .ini file . so I want to know how can i use that file to bring my saved session – PHP_USER1 May 10 '14 at 14:00
  • Does winscp have an *import* functionality similar to the *export* functionality that you used? That seems like a reasonable place to start... – David May 10 '14 at 14:02
  • but when i click on tools setting ,click on the import option , Its now showing me any file . how to bring that file in the import options – PHP_USER1 May 10 '14 at 14:12
  • Well, where is that file? Where did you save it? Again, if it's on the old hard drive then you would need to copy it to the new one. If the data on the old hard drive can't be accessed then you can't access it. You go about getting that file the same way you go about getting anything. It's where you left it. So go to where you left it and get it. – David May 10 '14 at 14:14
  • the ini file is in my external hard disk , which is save . My pc hard disk is crash not my external hard disk . So my file is save . so please can you tell me how to use it – PHP_USER1 May 10 '14 at 16:01
  • Do you know how to use the Windows Explorer? You open that, navigate to the folder which has your file, and copy or use the file. I can't really be any more clear than that. If you don't know how to find and copy a file then I'm afraid you've *really* come to the wrong place. You're going to want to start with some introductory lessons on basic computer usage. I'm not trying to sound rude here, but this is a pretty fundamental concept. – David May 10 '14 at 16:06

1 Answers1

1

On WinSCP Login dialog, go to the Tools > Import/Restore configuration, navigate to your external harddisk and select the exported INI file.

See https://winscp.net/eng/docs/config#import


Note that if you do not know how to browse external harddisk, you should ask a specific question on that. Preferably on https://superuser.com/.

Community
  • 1
  • 1
Martin Prikryl
  • 147,050
  • 42
  • 335
  • 704