wodSFTP是一個實現SFTP(在SSH上安全文件傳輸)協議的客戶端組件。它通過加密網絡層(使用SSH2協議)來安全地傳輸您的文件。SFTP是建立在SSH上的FTP封裝組件,作為全新的組件支持所有的SSH2服務器。不用再擔心您的隱私安全,現在可以不用再使用老式的FTP協議來發送純文本密碼。因為可能泄露您文件的內容,請試用SFTP,目前它已經成為行業的一種標準。
wodSFTP is a client component that provides implementation of SFTP (secure file transfer on SSH) protocol. Use it to transfer your file securely over encrypted network layer (using SSH2 protocol). SFTP is not just some "FTP over SSH" wrapper - it is newer protocol, supported by all SSH2 servers. Don't give up to your privacy any more! Don't send plaintext passwords using regular old fashion FTP protocol. Don't expose contents of your files! Try SFTP! It's a standard already.
PutFile(用于文件上傳)和GetFile(用于文件下載)函數十分重要,下面的也是一樣
PutData和GetData復制字符變量到/從遠程文件
PutFiles, GetFiles...用于遞歸的上傳/下載/刪除多個文件
可使用RemoteOpen、 RemoteRead、 RemoteWrite和RemoteClose函數直接讀/寫遠程文件
MakeDir和RemoveDir函數用來創建和刪除目錄
DeleteFile用來刪除在服務器上的文件
ListItems事件用來列舉遠程服務器目錄里的文件
GetAttributes/SetAttributes函數用來獲取文件和設置文件(或目錄)屬性
可以使用Resume屬性來恢復斷開的傳輸
阻塞模式可用于執行方法并等待直到它們執行完畢
密碼和公匙屬性決定服務器的驗證類型
ASCII和二進制文件傳輸用來處理不同的數據類型
當函數執行完畢的時候觸發Done事件——此時可開始一個新命令
壓縮——從0級(不壓縮)到9級(高壓縮性)
支持SOCKS4/5和標準WEB代理
密碼和私匙驗證
快速的通知——您可以使用回調函數,而不是效率較慢的事件
支持64位文件大小(大于4.2GB)
most important PutFile (for file uploading) and GetFile (for file downloading) methods, but also
- PutData and GetData to copy string variable to/from remotefile
- PutFiles, GetFiles... to upload/download/delete multiple files, recursively
- Direct read/write on remote file with RemoteOpen, RemoteRead, RemoteWrite and RemoteClose methods
- MakeDir and RemoveDir to create and delete directories
- DeleteFile to delete file on the server
- ListItems event to list files in some directory on remote server
- GetAttributes/SetAttributes to retrieve and set attributes for the file (or directory)
- Resume property to resume broken transfers
- Blocking mode to execute methods and wait until they are completed
- Password and PublicKey properties that determine type of authentication with the server
- ASCII and Binary file transfers to handle different data types....
- Done event that is fired when executed method is completed - a perfect place to initiate new command...
- Compression - from 0 (no compression) up to level 9 (high compression)
- Proxy support - for SOCKS4/5 and standard WEB proxy
- Password and PrivateKey authentication
- fast notifications - you can use callback methods, not slow events
- Support for 64-bit file sizes (more than 4.2gb)