|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
ftp link question
I have php and apache server. document root is /usr/local/apache/htdocs.
There are some files in /usr/local/apache/htdocs/download which I want users to download through ftp. if I give this link on my webpage <a href="ftp://www.myserver.com/">ftp link</a> then should it open that folder or not ? How else can I do it ? How does Apache handles ftp server ? are there any settings for it ? Thanks in advance. |
|
#2
|
||||
|
||||
|
Apache is not an FTP server. It handles HTTP requests. Files can still be transferred across HTTP (through a web browser). If you really want to set up ftp access, I would set up a very restricted user with only SSH access, and allow people to SFTP in.
By the way, how does this relate to PHP?
__________________
Two things have come out of Berkeley, Unix and LSD. It is uncertain which caused the other. |
|
#3
|
|||
|
|||
|
I am sorry about posting in the wrong forum. Can you please tell me what is SFTP? Where can I find it ? How can I use it ? and what is SSH access ?
I'll make sure that I am posting the question in right forum from next time. Thanks |
|
#4
|
||||
|
||||
|
There is a solution for all of your questions my friend. And that solution is http://google.com
|
|
#5
|
|||
|
|||
|
Okay. Thanks-
![]() But one last question if you don't mind. If there is already an FTP client installed on my machine then can I use something like <a href="ftp://www.myserver.com/dir">download files</a> |
|
#6
|
||||
|
||||
|
A client is used to initiate a connection to a server. If you want people to be able to initiate a connection with you, you would then need to be running a ________________ .
Care to guess what the blank is? |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > ftp link question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|