通过FileZilla Client导入上传文件


FileZilla是一种快速、可信赖的FTP客户端以及服务器端开放源代码程式,具有多种特色、直觉的接口。

  1. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>   
  2. <FileZilla3>   
  3. <Queue>   
  4. <Server>   
  5. <Host>FTP地址</Host>   
  6. <Port>21</Port>   
  7. <Protocol>0</Protocol>   
  8. <Type>0</Type>   
  9. <User>账号</User>   
  10. <Pass>密码</Pass>   
  11. <Logontype>1</Logontype>   
  12. <TimezoneOffset>0</TimezoneOffset>   
  13. <PasvMode>MODE_DEFAULT</PasvMode>   
  14. <MaximumMultipleConnections>0</MaximumMultipleConnections>   
  15. <EncodingType>Auto</EncodingType>   
  16. <BypassProxy>0</BypassProxy>  
  17.  
  18.  
  19. <File>   
  20. <LocalFile>文件绝对地址</LocalFile>   
  21. <RemoteFile>文件名</RemoteFile>   
  22. <RemotePath>1 0 6 htdocs 6 images 6 sights 5 15293 8 original</RemotePath>  
  23.  
  24. /htdocs/images/sights/15293/original  

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

下面两条可以忽略

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

  1.             <Download>0</Download>   
  2.             <TransferMode>1</TransferMode>   
  3.         </File>  
  4.  
  5.     </Server>   
  6. </Queue>   
  7. leZilla3>  

通过本文的介绍大家知道能通过FileZilla Client导入上传的文件,方法很简单,一学就会!

相关内容