SunQuest
           FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old March 6th, 2001, 08:34 PM
jdi_strogg jdi_strogg is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 5 jdi_strogg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Post

Does anyone know how I can set it up so that I can access my PC's hard drive for FTP transfers through a web page. The web page will have .htaccess to protect it and the PC is always on with a fixed IP address. Thanx D

Reply With Quote
  #2  
Old March 8th, 2001, 09:39 AM
aidanpeiser's Avatar
aidanpeiser aidanpeiser is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: south pole
Posts: 48 aidanpeiser User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 43 m 39 sec
Reputation Power: 8
Send a message via Google Talk to aidanpeiser
Thumbs up yeah man!

is this what you wanted!
<html>
<HEAD>
<title>FTP wizard</title>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function Login(form) {
var username = form.username.value;
var password = form.password.value;
var server = form.server.value;
if (username && password && server) {
var ftpsite = "ftp://" + username + ":" + password + "@" + server;
window.location = ftpsite;
}
else {
alert("Please enter your username, password, and FTP server's address.");
}
}
// End -->
</script>
</HEAD>

<!-- STEP TWO: Copy this code into the BODY of your HTML document -->

<BODY>
<table><tr><td valign="top">
<form name=login>
<table width=250 border=1 cellpadding=3>
<tr>
<td colspan=2 align=center><b><h2>Logon to FTP Server!</h2></b></td>
</tr>
<tr>
<td>Username:</td>
<td><input type=text name=username size=20></td>
</tr>
<tr>
<td>Password:</td>
<td><input type=password name=password size=20></td>
</tr>
<tr>
<td>Server:</td>
<td><tt>ftp://</tt><input type=text name=server size=14></td>
</tr>
<tr>
<td colspan=2 align=center>
<input type=button value="Login!" onClick="Login(this.form)"></td>
</tr>
</table>
</form>
</center>
<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>
</td><td width="150">
<!-- Script Size: 1.53 KB -->
<!-- ONE STEP TO INSTALL HARD DRIVE BROWSER:
1. Copy the coding into the BODY of your HTML document -->
<!-- STEP ONE: Paste this code into the BODY of your HTML document -->
<center>
<form action="file:///c|/"><input type="submit" value="c:\ drive"></form>
<p>
<form action="file:///a|/"><input type="submit" value="a:\ drive"></form>
<p>
<form action="file:///b|/"><input type="submit" value="b:\ drive"></form>
<p>
<form action="file:///d|/"><input type="submit" value="d:\ drive"></form>
<p>
<form action="file:///e|/"><input type="submit" value="e:\ drive"></form>
<p>
<form action="file:///r|/"><input type="submit" value="r:\ drive"></form>
<p>
<form action="file:///s|/"><input type="submit" value="s:\ drive"></form>
<p>
<form action="file:///t|/"><input type="submit" value="t:\ drive"></form>
<p>
<form action="file:///u|/"><input type="submit" value="u:\ drive"></form>
<p>
<form action="file:///v|/"><input type="submit" value="v:\ drive"></form>
<center>
</td></tr></table>
<!-- Script Size: 0.64 KB -->
</body>
</html>
__________________
..,.,.,,.
C 'C' C
> * <

Reply With Quote
  #3  
Old March 8th, 2001, 12:01 PM
jdi_strogg jdi_strogg is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 5 jdi_strogg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
this may work.......I will check it out. Do I need to change anything if the only address I have for the server is an IP address or do I just enter that as "ftp://?.?.?.?"

thanx doug

Reply With Quote
  #4  
Old March 8th, 2001, 12:03 PM
aidanpeiser's Avatar
aidanpeiser aidanpeiser is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: south pole
Posts: 48 aidanpeiser User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 43 m 39 sec
Reputation Power: 8
Send a message via Google Talk to aidanpeiser
check it

your ftp address is the same as your host address
so if it has http://www. ??? .com
then like that or elsenot just check it it will work fine ! laterzzz.

Reply With Quote
  #5  
Old March 8th, 2001, 12:39 PM
jdi_strogg jdi_strogg is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 5 jdi_strogg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
my web site hosting company and my ftp location are different. My web site is hosted by a hosting company. My FTP location is my always on PC which has a fixed IP address. I want to go through my web site when away from home to access my PC's hard drive via the FTP. I don't like to make things easy!!! Thanx doug

Reply With Quote
  #6  
Old March 8th, 2001, 05:54 PM
tlthomas tlthomas is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Idaho
Posts: 46 tlthomas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to tlthomas
Why not just install a ftp server on your machine? Windoze has quite a few easy ones and linux has proftpd which is really easy to install.
terry
__________________
It works better if you plug it in!

Reply With Quote
  #7  
Old March 8th, 2001, 06:04 PM
jdi_strogg jdi_strogg is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 5 jdi_strogg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
that is what I have done (Serv-U FTP) but I don't seem to be able to get at it from the web. Is there a trick to accessing the ftp program remotely? I have been typing in "ftp://and the IP address" but it times out and tells me there was no response

Reply With Quote
  #8  
Old March 8th, 2001, 07:03 PM
tlthomas tlthomas is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Idaho
Posts: 46 tlthomas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to tlthomas
Why not just use a ftp program like WinSock FTP (free for personal use)...
terry

Reply With Quote
  #9  
Old March 8th, 2001, 07:18 PM
jdi_strogg jdi_strogg is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 5 jdi_strogg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I can't rely on a client side ftp program because I want access from anywhere that there is a pc with internet access, whether it has ftp client software or not.

Reply With Quote
  #10  
Old March 8th, 2001, 07:35 PM
tlthomas tlthomas is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Idaho
Posts: 46 tlthomas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to tlthomas
Then you'll need to get a ftpd daemon that offers a web interface, browsers act differently than what most ftp daemons expect... the easiest alternative that i can think of is to install apache web server and use .htaccess to prevent anyone without a username and password from accessing your site (computer) and then just set root to whatever directory you want access to...
terry

Reply With Quote
  #11  
Old May 11th, 2004, 02:19 PM
FoxFire FoxFire is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 1 FoxFire User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I also want to setup a web ftp interface into a website of mine. I currently use Bulletproof FTP Server to manage my FTP accounts and all of the directories, etc.

I want to add the ability of users to being able to access any of the FTP's hosted on the site, through the website itself. Each one of us uses a server program to set us up. One is hosted by his web provider while the other 2 are directly from the computer. We use DynDns' Direct Update to handle the IP & Host name issue.

What exactly is a FTPd Daemon and what would be a good one that might work in this type of situation? If you need any extra info, let me know.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > FTP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway