home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 May / PCWorld_2002-05_cd.bin / Komunik / sambar / sambar51p.exe / sysuser / docmgr / ftp.stm < prev    next >
Encoding:
Text File  |  2001-11-29  |  2.0 KB  |  72 lines

  1. <HTML>
  2. <HEAD><TITLE>Sambar Server Document Manager</TITLE></HEAD>
  3. <BODY bgcolor=#ffffff>
  4. <center><FONT SIZE=6>Sambar Server Document Manager</FONT>
  5. <P>
  6. <TABLE border=0 cellspacing=8>
  7. <TR><TD>
  8. <br>
  9. <SCRIPT language="JavaScript">
  10. <!--
  11. function Form_Validator(theForm)
  12. {
  13.     if (theForm.user.value == "")
  14.     {
  15.         alert("Please enter a value for the \"User\" field.");
  16.         theForm.user.focus();
  17.         return (false);
  18.     }
  19.     if (theForm.server.value == "")
  20.     {
  21.         alert("Please enter a value for the \"Server\" field.");
  22.         theForm.server.focus();
  23.         return (false);
  24.     }
  25.     if (theForm.base.value == "")
  26.     {
  27.         alert("Please enter a value for the \"Remote Directory\" field.");
  28.         theForm.base.focus();
  29.         return (false);
  30.     }
  31.     if (theForm.from.value == "")
  32.     {
  33.         alert("Please enter a value for the \"Push Modified\" field.");
  34.         theForm.from.focus();
  35.         return (false);
  36.     }
  37. }
  38. //-->
  39. </SCRIPT>
  40. <BR>
  41. <B><FONT SIZE=+2 COLOR=#000088>FTP To...</FONT></B><BR>
  42. <FORM METHOD=POST ACTION="/session/dm-ftp" onsubmit="return Form_Validator(this)">
  43. <input type="hidden" name="path" value="<RC@txt2html(RC$path)>">
  44. <input type="hidden" name="root" value="<RCPdavdir>">
  45. <TABLE border=0 cellspacing=4>
  46. <TR><TD><B>Push Directory</B></TD>
  47.     <TD><RC$path></TD></TR>
  48. <TR><TD><B>FTP User</B></TD>
  49.     <TD><input type="text" name="user"></TD></TR>
  50. <TR><TD><B>FTP Password</B></TD>
  51.     <TD><input type="text" name="pass"></TD></TR>
  52. <TR><TD><B>FTP Server</B></TD>
  53.     <TD><input type="text" name="server"></TD></TR>
  54. <TR><TD><B>FTP Remote Directory</B></TD>
  55.     <TD><input type="text" name="base" value="<RC$path>"></TD></TR>
  56. <TR><TD><B>Push Modified (YYYY/MM/DD)</B></TD>
  57.     <TD><input type="text" name="from" value="1997/01/01"></TD></TR>
  58. <TR><TD></TD>
  59.     <TD><input type="submit" value="FTP To..."></TD></TR>
  60. </TABLE>
  61. </FORM>
  62. <BR>
  63. <BR>
  64. Return to browsing: 
  65.     <A HREF="<RCSbrowse>/browse.stm?path=<RC@urlescape(RC$path)>"><RC$path></A>
  66. <BR>
  67. </TD></TR>
  68. </TABLE>
  69. </CENTER>
  70. </BODY>
  71. </HTML>
  72.