On Fri, 2001-11-23 at 12:09, Paxton, Darren wrote:
> Shot in the dark, so dont take it as gospel, but maybe you need to change
> your public ftp directory to point to the web directory or where the images
> are located?
> 
> ftp://hostname/  would connect via anonymous  (might have to enable
> anonymous)
> 
> ftp://user:password@hostname would connect via username and password, but
> obvously this isnt what you're after
> 
> Darren
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 23 November 2001 12:13
> To: [EMAIL PROTECTED]
> Subject: [scottish] Simple FTP question
> 
> 
> I'm working on a web application which will allow people to select and
> download pictures from a photo library.
> 
> What should the file permissions be set to so that you can download files
> from the ftp directory of a Linux (Mandrake 8.1) box via a web browser?
> 
assuming it works when you log in anonymously to your ftp box using a
standard ftp client, check the path is the same, because if you have to
cd pub when you log in via ftp client you need ftp://mysite/pub/demo.jpg



> On the site I'm working on they're set to 644, which lets you download
> directly with ftp, but not by clicking on a ftp://mysite/demo.jpg type link
> in a web page.
> 
> Thanks in advance,
> Tom
> 
> *****************************************************
> Tom Shearer
> Web Developer
> Scottish University for Industry
> [EMAIL PROTECTED]
> 
> http://www.scottishufi.com
> http://www.learndirectscotland.com
> --------------------------------------------------------------------
> http://www.lug.org.uk                   http://www.linuxportal.co.uk
> http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
> --------------------------------------------------------------------
> 
> *************************** IMPORTANT NOTE **************************
> The above information is confidential to the addressee and may be
> privileged.  Unauthorised access and use is prohibited. William M. Mercer
> Limited is regulated by IMRO and the Personal Investment Authority.
> Registered in London No. 984275 Registered Office: Telford House, 14 Tothill
> Street, London SW1H 9NB 
> 
> --------------------------------------------------------------------
> http://www.lug.org.uk                   http://www.linuxportal.co.uk
> http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
> --------------------------------------------------------------------


--------------------------------------------------------------------
http://www.lug.org.uk                   http://www.linuxportal.co.uk
http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
--------------------------------------------------------------------

Reply via email to