通过FileZilla Client导入上传的文件

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<FileZilla3>
    <Queue>
        <Server>
            <Host>FTP地址</Host>
            <Port>21</Port>
            <Protocol>0</Protocol>
            <Type>0</Type>
            <User>账号</User>
            <Pass>密码</Pass>
            <Logontype>1</Logontype>
            <TimezoneOffset>0</TimezoneOffset>
            <PasvMode>MODE_DEFAULT</PasvMode>
            <MaximumMultipleConnections>0</MaximumMultipleConnections>
            <EncodingType>Auto</EncodingType>
            <BypassProxy>0</BypassProxy>

 

            <File>
                <LocalFile>文件绝对地址</LocalFile>
                <RemoteFile>文件名</RemoteFile>
                <RemotePath>1 0 6 htdocs 6 images 6 sights 5 15293 8 original</RemotePath>

/htdocs/images/sights/15293/original

目录字符长度 目录名,因为FileZilla Client是通过目录字符长度加目录名来区分目录的

下面两条可以忽略
                <Download>0</Download>
                <TransferMode>1</TransferMode>
            </File>


        </Server>
    </Queue>
</FileZilla3>

 

可能还有别的什么功能,有兴趣的朋友可以将你正在上传文件的时候选择“文件”-》“导出”-》“导出队列”,导出的文件为XML格式,可以自己研究研究。

posted @ 2010-04-19 15:12  桀歌  阅读(500)  评论(0)    收藏  举报