Hi, You can copy file from one server to another through PHP FTP functions. Please refer the following url http://in2.php.net/manual/en/ref.ftp.php Any way you need the FTP conection details for the remote server to transfer files Regards uthaya --- fotospasaporte <miguelangel.gonzalezm@xxxxxxxxx> wrote: > > Hi everybody: > I need to copy one file from one server to another, > and I would like > to know which is the best method in your opinion and > how you would do it. > > I have thought about three ways of doing it but i > have never tried any > one of these: > 1.-copy the file with a command in php (i don't know > if fsockopen has > to do with this). > 2.-reading the file (readfile()??) and then writing > it into a file. > 3.-using a web service ( with this option, i want to > copy or simply > receive the information in soap). > > I am more interested in the third option, but i have > no info. I would > thank references, URLs where i can read about web > services in php. > > Please give your opinion depending in two type of > files: > 1.-using a .txt > 2.-using a .php > > Thanks a lot, > Miguel Ángel. > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/