View Single Post
  #1  
Old 08-12-2006, 11:49 AM
kipper kipper is offline
Junior Member
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kipper is on a distinguished road
Default Can FTP sessions be carried to another script?

Some background on the application I want to develop:

Goal: I would like to connect to a remote FTP server after gathering input data from an HTML form. After opening an FTP session, I would like to output a list of files in the directory the user specified. I want the user to pick the file they want to download from the list, and download it.

I have three files currently which I am working on.

1. html form page
2. first php script
3. second php script

The html form is very simple. No problems there.

The first php script is done to the point of displaying a list of files in the directory in a drop down menu, which is a part of a form. The form will send data (the selected file from the list) to the second php script, which will download the file.

Here are my questions:

Is there a better way of getting this done using just one script?
In the second script, I wan -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - Can FTP sessions be carried to another script?
View Single Post
  #1  
Old 08-12-2006, 11:49 AM
kipper kipper is offline
Junior Member
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kipper is on a distinguished road
Default Can FTP sessions be carried to another script?

Some background on the application I want to develop:

Goal: I would like to connect to a remote FTP server after gathering input data from an HTML form. After opening an FTP session, I would like to output a list of files in the directory the user specified. I want the user to pick the file they want to download from the list, and download it.

I have three files currently which I am working on.

1. html form page
2. first php script
3. second php script

The html form is very simple. No problems there.

The first php script is done to the point of displaying a list of files in the directory in a drop down menu, which is a part of a form. The form will send data (the selected file from the list) to the second php script, which will download the file.

Here are my questions:

Is there a better way of getting this done using just one script?
In the second script, I wan -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote