jjAnswerFTPfile and jjAnswerFTPfolder
Josh Mellicker
josh at dvcreators.net
Fri Aug 24 20:52:50 EDT 2007
- Fixed a bug causing stack not to show.
- "Make folder" button now works.
- Syntax now includes "tWindowTitle" parameter :
jjAnswerFTPfile tURL, tUserName, tPassword, tWindowTitle, tMsg
jjAnswerFTPfolder tURL, tUserName, tPassword, tWindowTitle, tMsg,
showFiles
latest version:
http://leapingbrain.com/products/jjanswerFTPdemo.rev.zip
Enjoy!
On Aug 23, 2007, at 5:54 PM, Josh Mellicker wrote:
> Answer file and answer folder are great ways for the user (or
> coder) to browse their local hard drive and select a folder or file.
>
> But browsing a remote FTP folder has never been as easy- until now!
>
>
> Here is a stack you can include as a substack in your projects that
> make browsing and choosing remote folders and files as easy as
> local ones.
>
>
> Instructions:
>
> jjAnswerFTPfile:
> ----------------
>
> Syntax:
> jjAnswerFTPfile tURL, tUserName, tPassword, tMsg
>
> Description:
> tURL: the URL of the site (example: "craniumnet.com")
> tUserName: the FTP username
> tPassword: the FTP password
> tMsg: the dialog message you want to appear (example: "Please
> choose a file")
>
> You will find the remote file and path in the DialogData.
>
>
>
> jjAnswerFTPfile:
> ----------------
>
> Syntax:
> jjAnswerFTPfolder tURL, tUserName, tPassword, tMsg, showFiles
>
>
> Description:
> tURL: the URL of the site (example: "craniumnet.com")
> tUserName: the FTP username
> tPassword: the FTP password
> tMsg: the dialog message you want to appear (example: "Please
> choose a folder")
> showFiles: set this to "showFiles" if you want files to appear in
> the browser. Leave it empty (or set it to anything else) if you
> want only folders showing up.
>
> You will find the path to the remote folder in the DialogData.
>
>
> ---
>
> This is far from polished, for example, the "make new folder"
> button doesn't work yet :-)
>
> Also, you may want not just the path returned by the correct ftp
> string for accessing the data, which can be easily done with a
> slight mod. I will upload this one soon, let me know if you have
> questions.
>
> ---
>
> For the demo, just fill in the fields and hit the buttons to see a
> demonstration.
>
> Anyway, I hope this will prove valuable to those of you needing to
> browse and choose remote files and folders.
>
> The stack is here:
>
> leapingbrain.com/products/jjanswerFTPdemo.rev.zip
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list