![]() |
![]() |
| Home | What's New | Products | Download | Purchase | Support | About Us | Contact |
SUPPORT > SCRIPTING FAQ
|
|
|
|
How can I read files in my script? CRT 3.0/SecureCRT 3.0 does not offer direct support for reading and writing to files, but the ActiveX scripting language you are using probably offers a mechanism to access files. Microsoft's VBScript and JScript languages both allow you to create instances of "filesystem objects" that offer a flexible interface for manipulating files. The following VBScript sample code creates a filesystem object, opens a file then reads the file line by line and sends it to a server:
The following JScript sample code performs a similar operation:
|
|||||||||||
|
VShell, SecureCRT, SecureFX, Entunnel, CRT,
and AbsoluteFTP are trademarks or registered trademarks of VanDyke Software, Inc. in the United States and/or other countries. All other trademarks or registered trademarks
are the property of their respective owners.
Site Map | Legal Notices | Privacy
Policy | Refund
Policy |