P
Phillip Armitage
I've spent the better part of two days checking out PHP, javascript and
numerous other language sites trying to find what I figure should be be an
easy web script page. Essentially what I want is a self calling script (ASP,
PHP, whatever) which will do the following:
Let's assume that my script is called FTP.ASP
1) Display an HTML login form prompting user to enter a user name and
password. Login button action (either at the button or form level) calls
ftp.asp again. Ftp server name is hardcoded into the ASP code.
2) When login is clicked on and page reloads itself, take user name and
password values and use them to attempt make a connection to an FTP server
(lots of code out there showing how to do this in PHP. Shame that my version
of php isn't supporting the ftp requests). If login/connection is
unsuccessful, display login form again with a message that previous attempt
failed, please try again.
3) If ftp connection was successful, then username/password combination must
be valid. Open URL ftp://username[email protected].
In ASP I've found enough information to accomplish parts 1 and 3. However, I
can't seem to find anything about ASP ftp functions which could be used to
do part 2.
Without having to load third party ftp utilities on my IIS 5 server, any
suggestions on how I can perform step 2? Link to an ASP (not ASP.NET) page
explaining built-in ftp functions?
I look forward to your response
numerous other language sites trying to find what I figure should be be an
easy web script page. Essentially what I want is a self calling script (ASP,
PHP, whatever) which will do the following:
Let's assume that my script is called FTP.ASP
1) Display an HTML login form prompting user to enter a user name and
password. Login button action (either at the button or form level) calls
ftp.asp again. Ftp server name is hardcoded into the ASP code.
2) When login is clicked on and page reloads itself, take user name and
password values and use them to attempt make a connection to an FTP server
(lots of code out there showing how to do this in PHP. Shame that my version
of php isn't supporting the ftp requests). If login/connection is
unsuccessful, display login form again with a message that previous attempt
failed, please try again.
3) If ftp connection was successful, then username/password combination must
be valid. Open URL ftp://username[email protected].
In ASP I've found enough information to accomplish parts 1 and 3. However, I
can't seem to find anything about ASP ftp functions which could be used to
do part 2.
Without having to load third party ftp utilities on my IIS 5 server, any
suggestions on how I can perform step 2? Link to an ASP (not ASP.NET) page
explaining built-in ftp functions?
I look forward to your response