Topic "importing ftp sites info from FileZilla"

Author Message
mll
[View user's profile]

Joined: 2012-12-04
Posts: 2
Hi,

I' have decided to make the switch and migrate completely from FileZilla. WinSCP is really too good and reliable. Smile

But I have a dozen of FTP sites info (address, login, password, etc.) saved in FileZilla.

Is there any way to easily import this info into WinSCP ?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Thanks for your post.

This request is being tracked already:
http://winscp.net/tracker/show_bug.cgi?id=61

Can you share with us in more details, what were your reasons for the switch? We'd like to know what are our strenghts comparing to a competition Smile Thanks.
mll
[View user's profile]

Joined: 2012-12-04
Posts: 2
Well, I did see this ticket, but it seemed to have fallen into oblivion. Smile

To me, WinSCP's advantages against FileZilla are :

- encryption of stored passwords
- encryption of stored passwords
- encryption of stored passwords
- more reliable for big transfers
- ability to edit files on the fly (through ssh I guess)
- SCP protocol

Oh, and did I mention encryption of stored passwords ? Smile

Two thing from Filezilla that I'll regret :
- easy file queue management
- tabbed sessions
- WinSCP's strange GUI while transferring (this modal window with this "minimize" button)
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
mll wrote:
Well, I did see this ticket, but it seemed to have fallen into oblivion. Smile

I hope it makes it to WinSCP 5.2 (I know, too late for you anyway).

mll wrote:
- encryption of stored passwords

Do you mean master pasword?

Quote:
- more reliable for big transfers

Does Filezilla drop big transfers or what is the problem?

Quote:
Two thing from Filezilla that I'll regret :
- easy file queue management

What do you miss in WinSCP specifically?

Quote:
- tabbed sessions

WinSCP has tabbed sessions.
http://winscp.net/eng/docs/ui_sessiontabs

Quote:
- WinSCP's strange GUI while transferring (this modal window with this "minimize" button)

You can make WinSCP use queue for all transfers, just like Filezilla:
http://winscp.net/eng/docs/ui_pref_background

Let me know if that helps.
Guest




prikryl wrote:
mll wrote:
Well, I did see this ticket, but it seemed to have fallen into oblivion. Smile

I hope it makes it to WinSCP 5.2 (I know, too late for you anyway).

mll wrote:
- encryption of stored passwords

Do you mean master pasword?
Yes, I was uncomfortable with my passwors kept in clear text by FZ. I'm now using WinSCP with a good master password
prikryl wrote:


Quote:
- more reliable for big transfers

Does Filezilla drop big transfers or what is the problem?

Yeah, it sometimes is clunky. When I upload lots of small files, or one big file (mostly on the FTP protocol), my experience is to have less problems with WinSCP.
prikryl wrote:

Quote:
Two thing from Filezilla that I'll regret :
- easy file queue management

What do you miss in WinSCP specifically?

Quote:
- tabbed sessions

WinSCP has tabbed sessions.
http://winscp.net/eng/docs/ui_sessiontabs

Quote:
- WinSCP's strange GUI while transferring (this modal window with this "minimize" button)

You can make WinSCP use queue for all transfers, just like Filezilla:
http://winscp.net/eng/docs/ui_pref_background

Let me know if that helps.

Uh oh... I just realized I've been using a quite outdated version of WinSCP (4.3.Cool. I'll try the latest version which, as your links tend to show, should make me happy.

Thanks a lot for your input.
Wes
[View user's profile]
Donor
Joined: 2013-01-18
Posts: 6
Hi there,

I'd like to echo mll's post, import from Filezilla would make moving over a lot smoother of a process. In lack of an import tool I'd just like to be able to set "FTP" and "do save password" as defaults, as I have to change them for each site I add. And I have about 200 to copy from Filezilla... Might be worth just writing a quick conversion tool to convert the .xml to your .ini format, but the passwords would be an issue.

Encrypted passwords is the biggest reason I'll be moving over though, so it's hard to complain about that.

Anyway, just adding my vote for the import feature.
Wes
[View user's profile]
Donor
Joined: 2013-01-18
Posts: 6
Okay, I wrote a quick Python script to convert Filezilla's .xml file to WinSCP's .ini file format.

Code:
# Author: Wes Cook
# Date: January 18, 2013
# Note: Convert Filezilla .xml file to WinSCP .ini format.  Include sitemanager.xml in directory with script.


# Main Program
def main():
   # XML junk
   import xml.etree.ElementTree as ET
   tree = ET.parse('sitemanager.xml')
   root = tree.getroot()
   group = 0
   output = ""

   # Loop through all entries
   for groupChild in root[0]:  # Group
      for siteChild in root[0][group]:  # Single entry
         host = siteChild.find('Host').text
         port = siteChild.find('Port').text
         user = siteChild.find('User').text
         #pasw = siteChild.find('Pass').text  # Not working, have to encrypt it somehow
         name = siteChild.find('Name').text

         # Build data
         output += "[Sessions\\" + name + "]\n"
         output += "HostName=" + host + "\n"
         output += "PortNumber=" + port + "\n"
         output += "UserName=" + user + "\n"
         output += "Password=*****\n"
         output += "FSProtocol=5\n"
         output += "RemoteDirectory=/\n\n"
      group += 1

      # Write to file / Output
      open('output.ini', 'w').write(output)
      print(output)

# Boilerplate Code
if __name__ == '__main__':
   main()


It just spits out a file called output.ini and you can copy the text to your WinSCP config file. I didn't want to get into parsing of the ini file but I think this will do.

The passwords don't copy over because they're encrypted. For now I'm just assigning some asterisks, that way when you try connecting and it fails it will ask for the real password and offer to save it. Anyway, hope that helps anybody else looking to move from Filezilla to WinSCP.
Petr
[View user's profile]
Moderator
Joined: 2006-01-26
Posts: 50
Sites import from Filezilla was implemented in 5.2 beta

Tracked as http://winscp.net/tracker/show_bug.cgi?id=61
Otzi

Guest


Petr wrote:
Sites import from Filezilla was implemented in 5.2 beta
Tracked as http://winscp.net/tracker/show_bug.cgi?id=61


I just downloaded installation 5.2.0 build 3157 but Tools > Import sites is disabled!?! Am I doing something wrong?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Otzi wrote:
I just downloaded installation 5.2.0 build 3157 but Tools > Import sites is disabled!?! Am I doing something wrong?

It's disabled when there are neither PuTTY for Filezilla sessions available for import.
Where do you want to import your sessions from?
Otzi

Guest


Import was obviously disabled because all my sites in Filezilla are inside subfolders. After moving them to root Import in WinSCP was enabled.
But dissapointed, imported were only server names. For username are imported "anonymous" although I have in Filezilla "logon type" set to "normal" with saved usernames and passwords. Passwords also seems to be "anonymous".

I use latest Filezilla 3.6.0.2, where export of sites is possible to .xml with plain text passwords.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Otzi wrote:
Import was obviously disabled because all my sites in Filezilla are inside subfolders. After moving them to root Import in WinSCP was enabled.
But dissapointed, imported were only server names. For username are imported "anonymous" although I have in Filezilla "logon type" set to "normal" with saved usernames and passwords. Passwords also seems to be "anonymous".

I use latest Filezilla 3.6.0.2, where export of sites is possible to .xml with plain text passwords.

Can you email me (or attach) sample Filezilla configuration? Ideally for both cases (folders and no usernames/passwords)?
Otzi
[View user's profile]

Joined: 2013-04-19
Posts: 1
Simple example of Filezilla export with one root end three subfolder sites is attached.
sites.txt (3.77 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Otzi wrote:
Import was obviously disabled because all my sites in Filezilla are inside subfolders. After moving them to root Import in WinSCP was enabled.
But dissapointed, imported were only server names. For username are imported "anonymous" although I have in Filezilla "logon type" set to "normal" with saved usernames and passwords. Passwords also seems to be "anonymous".

Thanks. These two bugs have been added to the tracker:
http://winscp.net/tracker/show_bug.cgi?id=994
http://winscp.net/tracker/show_bug.cgi?id=995
I'm sending you a dev version for testing.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License