| | |
Ftp
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Hi Cente, I got a bit lost in your description but here're my five cents:
- to redirect a browser to FTP use
header("Location: ftp://example.com/directory/file");. It's the same as with HTTP. - URL that contains username and password looks like this:
ftp://user:password@example.com/directory/file - To assign privileges to an FTP account (e.g. to have access to a single directory only) you have to use your webhosting control panel. Or edit your FTP server's configuration, in case you're running your own box. If you want to lock an FTP user in a subdirectory so that he cannot get out of it through ".." you're looking for a chroot option.
Petr 'PePa' Pavel
The more information you give the more relevant answer you get.
Please consider using "Add to ... Reputation" and mark your thread as Solved if you found what you were looking for. By giving feedback you help others.
The more information you give the more relevant answer you get.
Please consider using "Add to ... Reputation" and mark your thread as Solved if you found what you were looking for. By giving feedback you help others.
![]() |
Similar Threads
- HELP WITH FTP, PLEASE: (Visual Basic 4 / 5 / 6)
- Tek's FTP (Networking Hardware Configuration)
- FTP files (Geeks' Lounge)
Other Threads in the PHP Forum
- Previous Thread: MySql Stored procedure
- Next Thread: Replacing return() function
| Thread Tools | Search this Thread |
.htaccess ajax apache api array beginner binary broken cache cakephp checkbox class cms code confirm cron curl customizableitems database date display dynamic echo email error external file files folder form forms forum function functions google header headmethod howtowriteathesis href htaccess html iframe image include insert integration ip java javascript joomla limit link login loop mail malfunction menu mlm mod_rewrite multiple mysql neutrality oop paypal pdf php phpmysql problem query question radio random recursion regex remote root script search select server sessions sms soap source space sql syntax system table tutorial update upload url validation validator variable video web xml youtube





