#!/bin/sh # MetaCard 2.4 stack # The following is not ASCII text, # so now would be a good time to q out of more exec mc $0 "$@" getFtpList M t Get FTP List U ,japanese U Osaka,Japanese U Geneva U Lucida Grande U Lucida Grande U ,japanese U Osaka,Japanese cRevStandaloneSettings 7scriptLibraries Internet MacOSX true OSX,name getFtpListMacOS,documentType UNIX,fileSelector trueWindows falseWindows,LegalCopyright )2004 Kojima All rights reserved worldwideMacOS,longVersion getFtpList 1.0.0.0UNIX,pageSetup trueOSX,documentType Linux falseWindows,documenticonFile 8/Applications/Revolution 2.2/Sample Icons/genericdoc.icoOdt falseinclusions select answerDialog falseSPARC false SolIntel falseOSX,documentExtension Windows,FileDescription getFtpList 1.0.0.0 for WindowsOSX,longVersion getFtpList 1.0.0.0OSX,copyright )2004 Kojima All rights reserved worldwideUNIX,printerChooser trueMacOS,MinimumSize 15000MacOS,versionnumber1 1MacOS,versionnumber2 0MacOS,Release Finalname getFtpListMacOS,versionnumber3 0Hp9k700 falsers6000 false MacOS,Region 1OSX,shortVersion 1.0.0.0Windows,fileversion1 1Windows,fileversion2 0Windows,productversion1 1Windows,productversion2 0Windows,fileversion3 0Bsd falsecursors falseWindows,productversion3 0Windows,fileversion4 0Windows,productversion4 0 OSX,info getFtpList Version 1.0.0.0MacOS,dynamicMemory trueIris false askDialog falseWindows,iconFile 8/Applications/Revolution 2.2/Sample Icons/genericapp.icoOSX,signature ????MacOS,PreferredSize 15000Windows,ProductName getFtpListUNIX,colorChooser true MacOSPPC trueWindows,companyname Kojima SolSparc falseMacOS,creator ???? cREVGeneral debugObjects @ password )pSglobal gPass on keydown whichKey put whichKey after gPass set the cPassword of fld "password" to gPass repeat the num of chars of gPass put "*" after tPassword end repeat put tPassword into fld "password" select after fld "password" end keyDown on backspacekey if fld "password" is empty then set the cPassword of fld "password" to "" else delete last char of fld "password" delete last char of gPass set the cPassword of fld "password" to gPass end if end backspacekey on returnInField -- end returnInField on enterInField -- end enterInField @ g cPassword cREVGeneral scriptChecksum @X,]^47YrevUniqueID 1083550771649 bookmarks handlerList /keydown backspacekey returnInField enterInFieldtempScript prevHandler backspacekeyscriptSelection char 595 to 594script
global gPass
on keydown whichKey
put whichKey after gPass
set the cPassword of fld "password" to gPass
repeat the num of chars of gPass
put "*" after tPassword
end repeat
put tPassword into fld "password"
select after fld "password"
end keyDown
on backspacekey
if fld "password" is empty then
set the cPassword of fld "password" to ""
else
delete last char of fld "password"
delete last char of gPass
set the cPassword of fld "password" to gPass
end if
end backspacekey
on returnInField
--
end returnInField
on enterInField
--
end enterInField
userName )p Qon returnInField -- end returnInField on enterInField -- end enterInField @ 5. cREVGeneral scriptChecksum 1ǙJ\庼czrevUniqueID 1083550899882 bookmarks handlerList returnInField enterInFieldtempScript prevHandler scriptSelection char 81 to 80scripton returnInField
--
end returnInField
on enterInField
--
end enterInField
directory )p Qon returnInField -- end returnInField on enterInField -- end enterInField @ cREVGeneral scriptChecksum 1ǙJ\庼czrevUniqueID 1083550939144 bookmarks handlerList returnInField enterInFieldtempScript prevHandler scriptSelection char 81 to 80scripton returnInField
--
end returnInField
on enterInField
--
end enterInField
lockPass he on mouseUp if hilight of me then set lockText of fld "password" to true else set lockText of fld "password" to false end mouseUp i texSize 12 000000000 cREVGeneral scriptChecksum !0_R[@#(ڶrevUniqueID 1083550771650 bookmarks handlerList mouseUptempScript prevHandler mouseUpscriptSelection char 133 to 132scripton mouseUp
if hilight of me then set lockText of fld "password" to true
else set lockText of fld "password" to false
end mouseUp
jpFld1 cREVGeneral revUniqueID 1083550977028 0000T O myUserName jpFld2 O cREVGeneral revUniqueID 1083551030237 00000O mySecretPass jpFld3 cREVGeneral revUniqueID 1083551170409 20000000O ftp.myDomain.co.jp/www/htdocs/ list )h @ o cREVTable currentvscroll 0formattedview total 296 drwxr-xr-x 2 kenjikoj vuser 4096 Aug 16 2003 273PlusMinus drwxr-xr-x 2 kenjikoj vuser 4096 Aug 16 2003 911 -rw-r--r-- 1 kenjikoj vuser 297 Apr 25 2003 DoNihonGo.html drwxr-xr-x 2 kenjikoj vuser 4096 Aug 16 2003 GeneratedItems drwxr-xr-x 5 kenjikoj vuser 4096 Mar 27 15:00 HiraganaQuiz drwxr-xr-x 5 kenjikoj vuser 4096 Aug 16 2003 KanaQ00 drwxr-xr-x 5 kenjikoj vuser 4096 Apr 1 13:29 Oshirase drwxr-xr-x 4 kenjikoj vuser 4096 Sep 23 2003 OshiraseCenter -rw-r--r-- 1 kenjikoj vuser 1756 Jun 8 2003 OshiraseCenter.html drwxr-xr-x 2 kenjikoj vuser 4096 Jan 19 18:33 abcd -rw-r--r-- 1 kenjikoj vuser 326 Apr 25 2003 aboutMe.html drwxr-xr-x 2 kenjikoj vuser 4096 Apr 12 13:44 cgi-bin drwxr-xr-x 2 kenjikoj vuser 4096 Apr 5 15:38 css drwxr-xr-x 5 kenjikoj vuser 4096 Feb 4 18:06 desktopSnap drwxr-xr-x 2 kenjikoj vuser 4096 May 2 13:45 donihongo drwxr-xr-x 5 kenjikoj vuser 4096 Aug 16 2003 download drwxr-xr-x 5 kenjikoj vuser 4096 Aug 16 2003 earlyWorks -rw-r--r-- 1 kenjikoj vuser 4564 Oct 11 2003 earyTempera.html drwxr-xr-x 6 kenjikoj vuser 4096 Aug 16 2003 flashVR drwxr-xr-x 3 kenjikoj vuser 4096 Aug 16 2003 flashVR_Lite -rw-r--r-- 1 kenjikoj vuser 7056 Oct 24 2003 flashVR_Lite.swf drwxr-xr-x 4 kenjikoj vuser 4096 Aug 16 2003 fm -rw-r--r-- 1 kenjikoj vuser 19319 Oct 24 2003 images.swf -rw-r--r-- 1 kenjikoj vuser 23557 Apr 10 09:52 index.html -rw-r--r-- 1 kenjikoj vuser 16609 Aug 10 2003 index1.html -rw-r--r-- 1 kenjikoj vuser 19569 Aug 10 2003 index2.html drwxr-xr-x 2 kenjikoj vuser 4096 Apr 8 06:53 indexImages drwxr-xr-x 3 kenjikoj vuser 4096 Aug 16 2003 java drwxr-xr-x 3 kenjikoj vuser 4096 Aug 16 2003 jikankei drwxr-xr-x 2 kenjikoj vuser 4096 Aug 16 2003 jscript drwxr-xr-x 2 kenjikoj vuser 4096 Aug 16 2003 mail drwxrwxr-t 2 root vuser 4096 Aug 16 2003 manager -rw-r--r-- 1 root root 3002 Aug 16 2003 manager.html drwxr-xr-x 3 kenjikoj vuser 4096 Aug 16 2003 movieTime drwxr-xr-x 2 kenjikoj vuser 4096 Apr 29 12:04 music drwxr-xr-x 4 kenjikoj vuser 4096 Mar 13 06:59 ocToroku drwxrwxr-t 3 root vuser 4096 Aug 16 2003 plugins drwx------ 2 kenjikoj vuser 4096 Apr 25 13:11 qt -rw-r--r-- 1 kenjikoj vuser 4653 Apr 18 12:36 revolution.html drwxr-xr-x 11 kenjikoj vuser 4096 Apr 25 13:09 runrev drwxr-xr-x 2 kenjikoj vuser 4096 Aug 16 2003 supercard drwxr-xr-x 3 kenjikoj vuser 4096 Oct 7 2003 tempera -rw-r--r-- 1 kenjikoj vuser 9051 Oct 11 2003 tempera.html -rw-r--r-- 1 kenjikoj vuser 18 Nov 17 20:47 test.php drwxr-xr-x 3 kenjikoj vuser 4096 Sep 12 2003 throwstones drwxr-xr-x 2 kenjikoj vuser 4096 Aug 16 2003 timesHaveChanged drwxr-xr-x 3 kenjikoj vuser 4096 Nov 4 17:49 ts drwxrwxr-t 3 root vuser 4096 Aug 16 2003 vdsbackup drwxr-xr-x 4 kenjikoj vuser 4096 Aug 16 2003 virtual_physical drwxr-xr-x 2 kenjikoj vuser 4096 Aug 16 2003 walkOfSeconds drwxr-xr-x 27 kenjikoj vuser 4096 Aug 16 2003 webArt drwxr-xr-x 5 kenjikoj vuser 4096 Nov 17 14:03 webColor viewablerows 53currentxmouseloc 119currenthscroll 0currentymouseloc 24scrollbarwidth 16 cellyspacing 14viewablecolumns 4rightfieldloc 492numbertabstops 1 cellxspacing 150 leftfieldloc 20topfieldloc 200currentview total 296 drwxr-xr-x 2 kenjikoj vuser 4096 Aug 16 2003 273PlusMinus drwxr-xr-x 2 kenjikoj vuser 4096 Aug 16 2003 911 -rw-r--r-- 1 kenjikoj vuser 297 Apr 25 2003 DoNihonGo.html drwxr-xr-x 2 kenjikoj vuser 4096 Aug 16 2003 GeneratedItems drwxr-xr-x 5 kenjikoj vuser 4096 Mar 27 15:00 HiraganaQuiz drwxr-xr-x 5 kenjikoj vuser 4096 Aug 16 2003 KanaQ00 drwxr-xr-x 5 kenjikoj vuser 4096 Apr 1 13:29 Oshirase drwxr-xr-x 4 kenjikoj vuser 4096 Sep 23 2003 OshiraseCenter -rw-r--r-- 1 kenjikoj vuser 1756 Jun 8 2003 OshiraseCenter.html drwxr-xr-x 2 kenjikoj vuser 4096 Jan 19 18:33 abcd -rw-r--r-- 1 kenjikoj vuser 326 Apr 25 2003 aboutMe.html drwxr-xr-x 2 kenjikoj vuser 4096 Apr 12 13:44 cgi-bin drwxr-xr-x 2 kenjikoj vuser 4096 Apr 5 15:38 css drwxr-xr-x 5 kenjikoj vuser 4096 Feb 4 18:06 desktopSnap drwxr-xr-x 2 kenjikoj vuser 4096 May 2 13:45 donihongo drwxr-xr-x 5 kenjikoj vuser 4096 Aug 16 2003 download drwxr-xr-x 5 kenjikoj vuser 4096 Aug 16 2003 earlyWorks -rw-r--r-- 1 kenjikoj vuser 4564 Oct 11 2003 earyTempera.html drwxr-xr-x 6 kenjikoj vuser 4096 Aug 16 2003 flashVR drwxr-xr-x 3 kenjikoj vuser 4096 Aug 16 2003 flashVR_Lite -rw-r--r-- 1 kenjikoj vuser 7056 Oct 24 2003 flashVR_Lite.swf drwxr-xr-x 4 kenjikoj vuser 4096 Aug 16 2003 fm -rw-r--r-- 1 kenjikoj vuser 19319 Oct 24 2003 images.swf -rw-r--r-- 1 kenjikoj vuser 23557 Apr 10 09:52 index.html -rw-r--r-- 1 kenjikoj vuser 16609 Aug 10 2003 index1.html -rw-r--r-- 1 kenjikoj vuser 19569 Aug 10 2003 index2.html drwxr-xr-x 2 kenjikoj vuser 4096 Apr 8 06:53 indexImages drwxr-xr-x 3 kenjikoj vuser 4096 Aug 16 2003 java drwxr-xr-x 3 kenjikoj vuser 4096 Aug 16 2003 jikankei drwxr-xr-x 2 kenjikoj vuser 4096 Aug 16 2003 jscript drwxr-xr-x 2 kenjikoj vuser 4096 Aug 16 2003 mail drwxrwxr-t 2 root vuser 4096 Aug 16 2003 manager -rw-r--r-- 1 root root 3002 Aug 16 2003 manager.html drwxr-xr-x 3 kenjikoj vuser 4096 Aug 16 2003 movieTime drwxr-xr-x 2 kenjikoj vuser 4096 Apr 29 12:04 music drwxr-xr-x 4 kenjikoj vuser 4096 Mar 13 06:59 ocToroku drwxrwxr-t 3 root vuser 4096 Aug 16 2003 plugins drwx------ 2 kenjikoj vuser 4096 Apr 25 13:11 qt -rw-r--r-- 1 kenjikoj vuser 4653 Apr 18 12:36 revolution.html drwxr-xr-x 11 kenjikoj vuser 4096 Apr 25 13:09 runrev drwxr-xr-x 2 kenjikoj vuser 4096 Aug 16 2003 supercard drwxr-xr-x 3 kenjikoj vuser 4096 Oct 7 2003 tempera -rw-r--r-- 1 kenjikoj vuser 9051 Oct 11 2003 tempera.html -rw-r--r-- 1 kenjikoj vuser 18 Nov 17 20:47 test.php drwxr-xr-x 3 kenjikoj vuser 4096 Sep 12 2003 throwstones drwxr-xr-x 2 kenjikoj vuser 4096 Aug 16 2003 timesHaveChanged drwxr-xr-x 3 kenjikoj vuser 4096 Nov 4 17:49 ts drwxrwxr-t 3 root vuser 4096 Aug 16 2003 vdsbackup drwxr-xr-x 4 kenjikoj vuser 4096 Aug 16 2003 virtual_physical drwxr-xr-x 2 kenjikoj vuser 4096 Aug 16 2003 walkOfSeconds drwxr-xr-x 27 kenjikoj vuser 4096 Aug 16 2003 webArt drwxr-xr-x 5 kenjikoj vuser 4096 Nov 17 14:03 webColor bottomfieldloc 384 cREVGeneral table falserevUniqueID 1083551659570 ` m getList ex on mouseUp put "" into fld "list" set cursor to watch put fld "userName" into tUserName put the cPassword of fld "password" into tUserPassword put fld "directory" into tDirectory if the last char of tDirectory <> "/" then put "/" after tDirectory put "ftp://" & URLEncode(tUserName) & ":" & URLEncode(tUserPassword) \ & "@"& tDirectory into fileURLToGet switch (the hilitedButtonName of group "whichList") case (NLST) libUrlSetFtpListCommand "NLST" break case (LIST) libUrlSetFtpListCommand "LIST" break end switch put URL fileURLToGet into fld "list" if the result is not empty then put the result into fld "list" end if end mouseUp s 000O\b cREVGeneral scriptChecksum %A 1H>ֻ_breakPoints handlerList mouseUpscriptSelection char 199 to 198 bookmarks revUniqueID 1083551738855prevHandler mouseUptempScript scripton mouseUp
put "" into fld "list"
set cursor to watch
put fld "userName" into tUserName
put the cPassword of fld "password" into tUserPassword
put fld "directory" into tDirectory
if the last char of tDirectory <> "/" then put "/" after tDirectory
put "ftp://" & URLEncode(tUserName) & ":" & URLEncode(tUserPassword) \
& "@"& tDirectory into fileURLToGet
switch (the hilitedButtonName of group "whichList")
case (NLST)
libUrlSetFtpListCommand "NLST"
break
case (LIST)
libUrlSetFtpListCommand "LIST"
break
end switch
put URL fileURLToGet into fld "list"
if the result is not empty then
put the result into fld "list"
end if
end mouseUp
whichList i cREVGeneral revUniqueID 1083553104678 NLST hd J NLST cREVGeneral revUniqueID 1083553046288 LIST hd J LIST cREVGeneral revUniqueID 1083553075344 jpFld cREVGeneral revUniqueID 1083555193763 O F T P00000n00000000n0000_00_00n00000Qe0W0f0O0`0U0D0 N iconD.gif @ b GIF89a 鐐姦֚Ü! , }BtD)FHQPoQ\NIG, ql$+['.JLU,'Btff y(hk#c0d `2$*ux k x A '! ; cREVGeneral revUniqueID 1083636477499 icon-.gif @ b GIF89a ۭ庺ZZZнſ]]]! , XZ}I5XP@ $!au(`0*,ȤSt q@>\S`$%l ̢ " v rEl `v-j! ; cREVGeneral revUniqueID 1083636491721 iconL.gif @ b GIF89a ΐԥ'&&aaaɛϼ! , `<P8@mLt/HMHg2!qLDh4"X.M!' K fdQ68@6 yH B+ &'! ; cREVGeneral revUniqueID 1083636506619 id1018 ^ <