'); d.writeln('
'); d.writeln('
 
'); d.writeln(ttl); d.writeln('
'); d.writeln(msg); d.writeln('
'); d.writeln(''); d.writeln('
'); d.close(); } } // isValidFilename(filename_to_check): VALIDATES FILENAME // ===================================================================== function isValidFilename(fname) { alert("isvalidfilename() fname: "+fname); // longer than 32 characters // if (fname.length > 32) // { // return false; // } // double periods are not allowed if (fname.indexOf("..") != -1) { return false; } // filename can't start with "." or "-" if ( (fname.charAt(0) == ".") || (fname.charAt(0) == "-") ) { return false; } // no spaces if (fname.indexOf(" ") != -1) { return false; } // everything else should be a character for(var i=0; i < fname.length; i++) { var ct = fname.toLowerCase(); var c = ct.charAt(i); if (! ((c >= 'a') && (c <= 'z') ) ) // not A-Z { if (! ((c >= '0') && (c <= '9') ) ) // not 0-9 { if ( (c != "_") && (c != ".") && (c != "-") ) // not any valid characters { return false; } } } } return true; } // inputFilesAreBogus(fiel1, file2): TRUE return means they are bogus // ===================================================================== function inputFilesAreBogus(f1,f2) { // chunk up the filenames and remove path var tmp = ""; var idx = 0; if (f1.length > 0) { tmp = f1; idx = tmp.lastIndexOf("\\") + 1; if (idx != -1) { f1 = tmp.substring(idx); } //alert("f1: "+f1); if (!isValidFilename(f1)) // invalid name { if (f2.length > 0) // check for rename name provided { tmp = f2; idx = tmp.lastIndexOf("\\") + 1; if (idx != -1) { f2 = tmp.substring(idx); } //alert("f2: "+f2); if (!isValidFilename(f2)) { return true; } } else { return true; } } else { return false; } } // we are OK return false; } // doSubmit(): SEND IT OFF TO HAPPYLAND // ===================================================================== function doSubmit() { var f = document.forms.editForm; var f1 = null; var f2 = null; var err = false; var msg = "Valid filenames consist of letters, numbers, dashes and underscores. Spaces and punctuation are invalid. All filenames are limited to 32 characters. "; // let's validate some names, shall we? f1 = f.file1.value; f2 = f.fileNewName1.value; if (inputFilesAreBogus(f1, f2)) { var msg = msg + "Filename 1 is in error."; err = true; } else { f1 = f.file2.value; f2 = f.fileNewName2.value; if (inputFilesAreBogus(f1, f2)) { msg = msg + "Filename 2 is in error."; err = true; } else { f1 = f.file3.value; f2 = f.fileNewName3.value; if (inputFilesAreBogus(f1, f2)) { msg = msg + "Filename 3 is in error."; err = true; } else { f1 = f.file4.value; f2 = f.fileNewName4.value; if (inputFilesAreBogus(f1, f2)) { msg = msg + "Filename 4 is in error."; err = true; } else { f1 = f.file5.value; f2 = f.fileNewName5.value; if (inputFilesAreBogus(f1, f2)) { msg = msg + "Filename 5 is in error."; err = true; } else { f1 = f.file6.value; f2 = f.fileNewName6.value; if (inputFilesAreBogus(f1, f2)) { msg = msg + "Filename 6 is in error."; err = true; } else { f1 = f.file7.value; f2 = f.fileNewName7.value; if (inputFilesAreBogus(f1, f2)) { msg = msg + "Filename 7 is in error."; err = true; } else { f1 = f.file8.value; f2 = f.fileNewName8.value; if (inputFilesAreBogus(f1, f2)) { msg = msg + "Filename 8 is in error."; err = true; } } } } } } } } if (err) { displayMessage(msg, "Invalid FileName"); } else { f.submit(); } } //-->
 
upload help
Upload to:
https://members.tripod.com/piak168
File:
Rename: (Optional)
make lowercase*    allow overwrite** (caution)

File:
Rename: (Optional)
make lowercase*    allow overwrite** (caution)

File:
Rename: (Optional)
make lowercase*    allow overwrite** (caution)

File:
Rename: (Optional)
make lowercase*    allow overwrite** (caution)

File:
Rename: (Optional)
make lowercase*    allow overwrite** (caution)

File:
Rename: (Optional)
make lowercase*    allow overwrite** (caution)

File:
Rename: (Optional)
make lowercase*    allow overwrite** (caution)

File:
Rename: (Optional)
make lowercase*    allow overwrite** (caution)

Help

Uploading files and images to your Tripod member directory is as easy as 1, 2, 3. The input fields below each have a "Browse..." button next to them (If they do not, please scroll down to the "Troubleshooting" section at the bottom of this page.) Simply click on "Browse...." to select the file(s) you want to upload. NOTE: You cannot upload an image to your directory by typing in an URL - it must be saved on either your hard drive or a disk. Once you have selected your file(s), click "Upload."

For more information on uploading files, go to the Tripod Help System.

* If the filenames of the images you want to upload have any uppercase letters in them, you can click on the "make lowercase" option. Tripod URLs are case sensitive, and for simplicity reasons we suggest you keep all of your filenames in the lower case.

** If you want to replace an existing image with a new one, select the "overwrite" option. Selecting "overwrite" will permanently delete the existing file.

Troubleshooting

If you do not see "Browse" buttons next to the file input lines, you do not have an upload-enabled browser. Please FTP to Tripod:

[back to top]

Netscape, etc. Internet Explorer 4.0
piak168@ftp.tripod.com piak168@ftp.tripod.com

Alternatively, you may connect via FTP to Tripod:

ftp.tripod.com