cancel
Showing results for 
Search instead for 
Did you mean: 

publish ftp files - howto

player_
Frequent Contributor

publish ftp files - howto

is there a way to publish ftp files like doing with winodws sharing?

i would prefer using a web bookmark, but it doesnt work...

18 REPLIES 18
Raj909_
Contributor

Re: publish ftp files - howto

I had a similar request and per Juniper support, they do not offer publishing FTP right now. Only UNC shares.

Sucks....

ruc_
Regular Contributor

Re: publish ftp files - howto

If there is a Java applet that could offer ftp functionality then you could leverage the 'Java applet upload" functionality of the SA.
muttbarker_
Valued Contributor

Re: publish ftp files - howto

There are several Java applets for ftp that are out there. I am in the process of testing some for one of my customers. No real results yet as I just finished the research and have done only minimal but here are some notes and early test result comments for anyone who is interested:

www.jscape.com/sftpapplet/index.html - commercial applet - available for trial downloads - supports ftp, sftp, ftps - tested as standalone Java applet - works as advertised

unlimitedftp.ca/products/unlimitedftp - commercial applet - available for trial downloads - supports - ftps, sftp - tested as standalone Java applet and as an applet through the SSL-VPN box - works as advertised

sourceforge.net/projects/j-ftp - freeware - supports sftp - not tested yet

Yves_
Occasional Contributor

Re: publish ftp files - howto

Hi,

Does anyone has tested the freeware version?

Yves

muttbarker_
Valued Contributor

Re: publish ftp files - howto

Yves - yes, I finally got around to doing some basic testing on the applet. It worked very well. I uploaded the applet, built the html code using the code generator, substituted the code name which was documented in the readme file that came with it and ran it with no problems.

It ran fine - was able to specify ftp servers to connect to, connect and transfer files without a problem. I did not try and see if I could pass additional parameters like server name or IP or username but I found it to be a well written app!

Message Edited by muttbarker on 02-24-2009 01:30 PM
Yves_
Occasional Contributor

Re: publish ftp files - howto

Thanks,

Yves

Kendall_Thrift_
Occasional Contributor

Re: publish ftp files - howto

I did the autogenerate html and there are some values that must be keyed in. I looked thru the sourcefourge jftp.jar documentation, but I didn't see anything. Below is the code. Can anyone provide any insight so that I can get this FTP Java stuff going?

<html>
<head>
<title> Applet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<!--
Notes:
1) << CODEBASE >> is a system value that will get replaced at the time the applet is launched. Please do not modify this value.
2) Please modify the remaining values as needed.
3) Please make sure all attribute names/values are enclosed in double quotes.
-->
<body>
<applet code="__PLEASE_SPECIFY__"
codebase="<< CODEBASE >>"
archive="jftp.jar"
width="640" height="480"
name="" align="top">
<param name="code" value="__PLEASE_SPECIFY__">
<param name="codebase" value="<< CODEBASE >>">
<param name="archive" value="__PLEASE_SPECIFY__">
<param name="cabbase" value="">
<param name="name" value="">
<param name="width" value="640">
<param name="height" value="480">
<param name="align" value="top">
<!--
Please specify additional params here after the comment.
<param name="paramname" value="paramvalue">
-->
</applet>
</body>
</html>

muttbarker_
Valued Contributor

Re: publish ftp files - howto

Hey Kendall - you are missing the "code" value - see below - works well!

<html><head><title>JFTP Applet</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><!--
<body><applet code="net.sf.jftp.JFtpApplet"
codebase="<< CODEBASE >>" archive="jftp.jar"
width="640" height="480"
name="JFTP" align="top"><param name="code" value="net.sf.jftp.JFtpApplet"><param name="codebase" value="<< CODEBASE >>">

<param name="archive" value="jftp.jar">

<param name="cabbase" value=""><param name="name" value="JFTP">

<param name="width" value="640"><param name="height" value="480">

<param name="align" value="top">

Kendall_Thrift_
Occasional Contributor

Re: publish ftp files - howto

That worked! Now I get a blank white screen when I click on the bookmark. Am I supposed to staticly set the ftp server and resource? I have already created the autopolicy to allow port 20-21 to the ftp server.