Differences
This shows you the differences between the selected revisions of the page.
2007-04-23 | 2007-04-23 | ||
no summary (gaod) | restored. this is english documentation. (martin) | ||
Line 15: | Line 15: | ||
WinSCP returns exit code 1, when any command is interrupted due to an error or any prompt is answered //Abort// (even automatically in batch mode). Otherwise it returns the exit code 0. | WinSCP returns exit code 1, when any command is interrupted due to an error or any prompt is answered //Abort// (even automatically in batch mode). Otherwise it returns the exit code 0. | ||
- | ===== 指令 ===== | + | ===== Commands ===== |
- | WinSCP 支援下列指令: | + | The following commands are implemented: |
- | ^ 指令 ^ 指令描述 ^ | + | ^ Command ^ Description ^ |
- | | [[script_commands#call|call]] | 執行遠端系統指令 | | + | | [[script_commands#call|call]] | Executes arbitrary remote shell command | |
- | | [[script_commands#cd|cd]] | 切換遠端工作資料夾 | | + | | [[script_commands#cd|cd]] | Changes remote working directory | |
- | | [[script_commands#chmod|chmod]] | 切換遠端檔案權限 | | + | | [[script_commands#chmod|chmod]] | Changes permissions of remote file | |
- | | [[script_commands#close|close]] | 結束工作階段連線 | | + | | [[script_commands#close|close]] | Closes session | |
- | | [[script_commands#exit|exit]] | 結束所有工作階段連線並關閉程式 | | + | | [[script_commands#exit|exit]] | Closes all sessions and terminates the program | |
- | | [[script_commands#get|get]] | 從遠端資料夾下載檔案到本機資料夾 | | + | | [[script_commands#get|get]] | Downloads file from remote directory to local directory | |
- | | [[script_commands#help|help]] | 求助 | | + | | [[script_commands#help|help]] | Displays help | |
- | | [[script_commands#keepuptodate|keepuptodate]] | 即時更新 | | + | | [[script_commands#keepuptodate|keepuptodate]] | Continuously reflects changes in local directory on remote one | |
- | | [[script_commands#lcd|lcd]] | 切換本機工作資料夾 | | + | | [[script_commands#lcd|lcd]] | Changes local working directory | |
- | | [[script_commands#lls|lls]] | 列出本機資料夾內容 | | + | | [[script_commands#lls|lls]] | Lists the contents of local directory | |
- | | [[script_commands#ln|ln]] | 建立遠端符號連結 | | + | | [[script_commands#ln|ln]] | Creates remote symbolic link | |
- | | [[script_commands#lpwd|lpwd]] | 顯示本機工作資料夾 | | + | | [[script_commands#lpwd|lpwd]] | Prints local working directory | |
- | | [[script_commands#ls|ls]] | 顯示遠端資料夾內容 | | + | | [[script_commands#ls|ls]] | Lists the contents of remote directory | |
- | | [[script_commands#mkdir|mkdir]] | 建立遠端資料夾 | | + | | [[script_commands#mkdir|mkdir]] | Creates remote directory | |
- | | [[script_commands#mv|mv]] | 移動遠端檔案 | | + | | [[script_commands#mv|mv]] | Moves or renames remote file | |
- | | [[script_commands#open|open]] | 連線到伺服器 | | + | | [[script_commands#open|open]] | Connects to server | |
- | | [[script_commands#option|option]] | 設定或顯示 script 選項 | | + | | [[script_commands#option|option]] | Sets or shows value of script options | |
- | | [[script_commands#put|put]] | 從本機資料夾上傳檔案到遠端資料夾 | | + | | [[script_commands#put|put]] | Uploads file from local directory to remote directory | |
- | | [[script_commands#pwd|pwd]] | 顯示遠端工作資料夾 | | + | | [[script_commands#pwd|pwd]] | Prints remote working directory | |
- | | [[script_commands#rm|rm]] | 刪除遠端檔案 | | + | | [[script_commands#rm|rm]] | Removes remote file | |
- | | [[script_commands#rmdir|rmdir]] | 刪除遠端資料夾 | | + | | [[script_commands#rmdir|rmdir]] | Removes remote directory | |
- | | [[script_commands#session|session]] | 顯示已連線之工作階段連線或選擇連線中之工作階段連線 | | + | | [[script_commands#session|session]] | Lists connected sessions or selects active session | |
- | | [[script_commands#synchronize|synchronize]] | 同步遠端資料夾至本機資料夾 | | + | | [[script_commands#synchronize|synchronize]] | Synchronizes remote directory with local one | |
===== [[console]] The Console Interface Tool ===== | ===== [[console]] The Console Interface Tool ===== | ||
Line 94: | Line 94: | ||
</code> | </code> | ||
- | ===== 好用的 Scripts ===== | + | ===== Useful Scripts ===== |
- | 你可以在這裡 [[scripts]] 找到由其他使用者蒐集的好用 script。 | + | You can see list of [[scripts]] other users found useful. |
- | 或者可以到這裡 [[faq#scripting_automation|FAQs on scripting]] 取得更多的細節及說明。 | + | For more tips, see also [[faq#scripting_automation|FAQs on scripting]]. |