IPCopy.vbe/IPCopyMobile.vbe (encoded VBScript)

Utility in VBScript for ServerDoc or ServerDocMobile applications.

Downloads and uploads file(s) or directory contents thanks to running ServerDoc instance(s).

 

For Downloading:
//<- Downloading a mirror file from ServerDoc site (local and remote full filename are the same)
IPCopy.vbe <ServerDoc hostname> <remoteFullFilename>
 
//<- Downloading a mirror directory contents from ServerDoc site (local and remote directories are the same)
IPCopy.vbe <ServerDoc hostname> <remotePath> *
 
//<- Downloading a remote file from ServerDoc site to a local file
IPCopy.vbe <ServerDoc hostname> /download <localFullFilename> <remoteFullFilename>
 
//<- Downloading a remote directory contents from ServerDoc site to a local directory 
IPCopy.vbe <ServerDoc hostname> /download <localFullpath> <remoteFullpath> *
 
For Uploading:
//-> Uploading a local file to a remote file at ServerDoc site
IPCopy.vbe <ServerDoc hostname> /upload <localFullFilename> <remoteFullFilename>
 
//-> Uploading a local directory contents to a remote and existing directory at ServerDoc site
IPCopy.vbe <ServerDoc hostname> /upload <localFullpath> * <remoteFullpath> 
 
  <ServerDoc hostname> can be a DNS name or IP. 
To specify a port number different from 8088, please use <ServerDoc hostname:port_number>
 
For examples:
IPCopy.vbe 192.168.1.11 /download c:/temp/test.exe v:/build_bin/test.exe
IPCopy.vbe 192.168.1.11 /download c:/doc v:/build_bin/doc *
 
IPCopy.vbe 192.168.1.11 /upload c:/temp/test_validated.exe v:/build_bin/test_validated.exe
IPCopy.vbe 192.168.1.11 /upload c:/docall * v:/build_bin/docall