PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
root4
Forum Newbie
Posts: 6 Joined: Tue May 13, 2003 2:51 am
Post
by root4 » Tue May 13, 2003 2:51 am
I have a linux server (Apache and proftpd), when i use ftp_put or ftp_get.
Apache return me Warning ftp_put(): error opening C:\WINNT\Greenstone.bmp in ....
What is the pb ?
[]InTeR[]
Forum Regular
Posts: 416 Joined: Thu Apr 24, 2003 6:51 am
Location: The Netherlands
Post
by []InTeR[] » Tue May 13, 2003 3:22 am
Doest the Apache server has rigths to read or write that file?
root4
Forum Newbie
Posts: 6 Joined: Tue May 13, 2003 2:51 am
Post
by root4 » Tue May 13, 2003 4:06 am
How to know if the Apache server has rigths to read or write that file?
[]InTeR[]
Forum Regular
Posts: 416 Joined: Thu Apr 24, 2003 6:51 am
Location: The Netherlands
Post
by []InTeR[] » Tue May 13, 2003 4:13 am
Find out what use apache is, but you can do it quickly by chmod'ing it to 666, read and write rights for owner,group and public.
command: chmod 666 <file>
root4
Forum Newbie
Posts: 6 Joined: Tue May 13, 2003 2:51 am
Post
by root4 » Tue May 13, 2003 4:44 am
no it's not that
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Tue May 13, 2003 5:29 am
C:\WINNT\Greenstone.bmp
looks like a windows path. Where does this come from?
root4
Forum Newbie
Posts: 6 Joined: Tue May 13, 2003 2:51 am
Post
by root4 » Tue May 13, 2003 5:46 am
I want to send a file of windows (C:\WINNT\Greenstone.bmp) to my linux server
[]InTeR[]
Forum Regular
Posts: 416 Joined: Thu Apr 24, 2003 6:51 am
Location: The Netherlands
Post
by []InTeR[] » Tue May 13, 2003 5:49 am
Your linux server doesn't know where c:\winnt\ is.
You must mount this path, or you can send the file with post.
To install a ftp server on the win-nt machine is allso a possebillity.
root4
Forum Newbie
Posts: 6 Joined: Tue May 13, 2003 2:51 am
Post
by root4 » Tue May 13, 2003 6:08 am
what you can say by "you can send the file with post" ?
root4
Forum Newbie
Posts: 6 Joined: Tue May 13, 2003 2:51 am
Post
by root4 » Tue May 13, 2003 6:25 am
have you an example with post?
twigletmac
Her Royal Site Adminness
Posts: 5371 Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK
Post
by twigletmac » Tue May 13, 2003 6:29 am