请给个思路或者例子

解决方案 »

  1.   

    如果是CS架构的用SOCKET简单,当然FTP也可以,不过不常用;如果是BS就找一下第三方组件吧,GOOGLE查一下有很多。
      

  2.   

    试试Internet Transfer 控件
      

  3.   

    http://www.smartmaildemo.com 有你需要的
      

  4.   

    应该是cuteftp pro
    Uploading files 
    Description 
    Use the Upload method to transfer a file or folder from a local hard drive to a remote server. T 
      
    Syntax 
    Object.Upload(BSTR strLocalName ,BSTR strRemoteName , long nMultiPartNumber) 
      
    Parameters
    strRemoteName
     This is optional, use it only if you want to change the destination name or path for the uploaded files or folders. You can use absolute or relative paths with or without wildcards. 
     
    strLocalName
     This is the path to the local item you are uploading. You can use absolute or relative paths with or without wildcards.
     
    nMultiPartNumber
     Use this to split the upload into multiple parts.  The default value = 1.  The value specifies the number of parts used for the download.
     
      
    Example 
    Set MySite = CreateObject("CuteFTPPro.TEConnection") 
    ‘Specify user, pass, host, and connect as normal... 
    MySite.Connect ‘Recommended: call connect first 
    MySite.RemoteFolder = "Temp" 
    MySite.LocalFolder = "C:\123" 
    ‘using relative path, all files in folder 123 are uploaded to the folder Temp off the current folder on the server. 
    MySite.Upload "*.*" 
      
    Notes  
    You can only use multi-part uploads with servers that support the COMB command. Currently, only GlobalSCAPE Secure FTP server supports the COMB command. Setting the Multi-part upload attribute can greatly increase the transfer speed for larger files under certain conditions. For example, the site must support multiple concurrent connections from the same user and you must have significant bandwidth.The Upload method is a syncrhonous command, meaning it must finish executing before subsequent commands in your script can be called. Use the method UploadAsync (which also supports Multi-part transfers) to asyncrhonously upload files, which allows you to execute the rest of the script while the upload(s) take place.Related topics
    Other methods