Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JavaScript Code for FTP Transfer

Status
Not open for further replies.

Quehay

Programmer
Feb 6, 2000
804
US
Does anyone know of any example of script that allows a user to intiate an FTP with a radio button selector or some similar interface?  Thank you
 
um, you can not access an FTP through Java<b>Script</b>, but you can always link to an FTP, just by sending them to the URL of <A HREF="FTP://address" TARGET="_new">FTP://address</A>.... , which will open an FTP in the browser, or open their default FTP client. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
Thanks Carl,<br><br>Would it be better to use ASP code to initiate the FTP--using results from user &lt;form&gt; input, e.g. &quot;You can download from the following list: A. B. C.&quot; and then using the choice, previously declared as a pointer to the FTP address, to make the connection and start download?
 
Personally, I'd go with Karl's solution.&nbsp;&nbsp;That way, the user's machine does the ftp stuff.&nbsp;&nbsp;If you do it on the server, you still have to get the user's ok to download it to their machine.<br> <p>nick bulka<br><a href=mailto: > </a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top