To avoid recurring errors uploading, I added a convenience script “viupload.bat”; it’s used as follows:
- copy it to the host from which uploads shall be pushed
- you’ll need VIUPLOAD.BAT
- you’ll need VICT.JAR
- of course, even though this works in any subdirectory, we recommend that these be stored in the UnSupported subdirectory
- these scripts are not supported by the American Society for Prevention of Cruelty to Animals, nor any other entity, nor have we ever claimed them to be
- edit the following variables:
UPLOAD_USER
should be set to your usernameUPLOAD_PASS
should be set to your password (plaintext, this is for convenience not security)UPLOAD_SUB
can remain “ftp” or be set to a region (other regions REM’d out for example)UPLOAD_PATH
should be empty or set to a preexisting subdirectory on the server to which uploads should be stored
- run it with a list of files; for example
VIUPLOAD PortalLogs.zip HOSTNAME.err backup-2013-09-03-15-02.zip