PDA

View Full Version : FlashFXP to FileZilla (import / export) ?


student101
05-26-2010, 02:00 AM
Based on this link: XML Format for Site Import or Export (https://oss.azurewebsites.net/forum/showthread.php?t=13518) are the FlashFXP users supposed to make up their own XML files?

Eporting a FlashFXP .ftp file is sort of like XML but you can't import that .ftp file into FileZilla ?

The concept being to Import and Export to the most standard formats.
Have I missed something?

bigstar
05-26-2010, 06:27 AM
the XML format used in FlashFXP is a format we came up with (back in 2007?) because at the time there was no standard.

I'm not sure if FileZilla supports importing the format we use or not.

student101
05-26-2010, 10:11 AM
I'm not sure if FileZilla supports importing the format we use or not.
No, FileZilla doesn't support the FlashFXP "XML" export.

Why import so many formats; FlashFXP, Bulletproof, CuteFTP, LeapFTP even WS_FTP , when there's NO way to export them in any of the allowed imported types?

Are there any solutions that will do the conversion from .FTP to any of the allowed imports?

bigstar
05-26-2010, 12:02 PM
The import routines for these clients were provided to me by people who use FlashFXP. I am grateful for this. This was along time ago and most of these import formats are now obsolete, as the data file format for these clients is always changing.

Our solution was to provide an import/export format using XML, if you want to import/export to/from another client we leave this to the user. We do not invest our time in supporting site formats of other clients because they're always changing.

supernix
06-18-2010, 09:03 AM
I would urge you to reconsider at list for the big 3 most people will factor in the ability to import their old sites in using a program. If they have to use it then why switch. But if they can do a full 180 with full import support then there is no looking back.
I find myself in the predicament of trying to figure out how to get my old site data from FileZilla to FlashFXP so far I have not found a solution.

tauchviesch
08-12-2010, 09:50 AM
Hi,

just wanted to share, what solved this problem for me flawlessly. I found the following code over at the FileZilla-Forum (http://forum.filezilla-project.org/viewtopic.php?f=2&t=9061):


<!-- MASC 2008.11.29 -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/SITES">
<FileZilla3>
<Servers>
<xsl:for-each select="SITE">
<xsl:sort select="GROUP" order="ascending"/>
<xsl:apply-templates select="."/>
</xsl:for-each>
</Servers>
</FileZilla3>
</xsl:template>

<xsl:template match="SITE">
<Server><xsl:value-of select="@NAME"/>
<Host><xsl:value-of select="ADDRESS"/></Host>
<Port><xsl:value-of select="PORT"/></Port>
<Protocol>0</Protocol>
<Type>0</Type>
<User><xsl:value-of select="USERNAME"/></User>
<Pass><xsl:value-of select="PASSWORD"/></Pass>
<Logontype>1</Logontype>
<TimezoneOffset>0</TimezoneOffset>
<PasvMode>MODE_DEFAULT</PasvMode>
<MaximumMultipleConnections>0</MaximumMultipleConnections>
<EncodingType>Auto</EncodingType>
<BypassProxy>0</BypassProxy>
<Name><xsl:value-of select="@NAME"/></Name>
<Comments><xsl:value-of select="NOTES"/></Comments>
<LocalDir />
<RemoteDir><xsl:value-of select="REMOTEPATH"/></RemoteDir>
</Server>
</xsl:template>
</xsl:stylesheet>


Use the above XSL with any XSLT-Processor to transform the exported FlashFXP to FileZilla format.