471,596 Members | 919 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,596 software developers and data experts.

How to copy a jpg file to the server

How to copy a jpg file on from local computer to remote server on the basis
of PHP code?
Jul 17 '05 #1
4 4847
Joker wrote:
How to copy a jpg file on from local computer to remote server on the
basis of PHP code?


Hi,

If you mean ftp, check www.php.net:

http://nl2.php.net/manual/en/ref.ftp.php

Regards,
Erwin Moller
Jul 17 '05 #2

"Erwin Moller"
<si******************************************@spam yourself.com> wrote in
message news:41***********************@news.xs4all.nl...
Joker wrote:
How to copy a jpg file on from local computer to remote server on the
basis of PHP code?


Hi,

If you mean ftp, check www.php.net:

http://nl2.php.net/manual/en/ref.ftp.php


or run a php script on the remote server that uses copy().
Jul 17 '05 #3
or http://www.plsgoogleit.com
"skrebbel" <e.************@PAMstudent.tue.nl> wrote in message
news:ct**********@news.tue.nl...

"Erwin Moller"
<si******************************************@spam yourself.com> wrote in
message news:41***********************@news.xs4all.nl...
Joker wrote:
How to copy a jpg file on from local computer to remote server on the
basis of PHP code?


Hi,

If you mean ftp, check www.php.net:

http://nl2.php.net/manual/en/ref.ftp.php


or run a php script on the remote server that uses copy().

Jul 17 '05 #4

You can also use XML-RPC. Read the entire file in and base64encode()
the whole file and dump it across XML-RPC. Benefit is the sending
computer does not have to be a server, could be a computer anywhere,
even behind a firewall.

copy() will only work if the sending computer is publicly accessible
over the network. This might not be the case.

Junxter Ad Network
http://www.junxter.com
boom wrote:
or http://www.plsgoogleit.com
"skrebbel" <e.************@PAMstudent.tue.nl> wrote in message
news:ct**********@news.tue.nl...
"Erwin Moller"
<si******************************************@sp amyourself.com> wrote in
message news:41***********************@news.xs4all.nl...
Joker wrote:
How to copy a jpg file on from local computer to remote server on the
basis of PHP code?

Hi,

If you mean ftp, check www.php.net:

http://nl2.php.net/manual/en/ref.ftp.php


or run a php script on the remote server that uses copy().


Jul 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Tess | last post: by
2 posts views Thread by Shayer | last post: by
2 posts views Thread by Stephen Witter | last post: by
3 posts views Thread by Shailesh Gajare | last post: by
4 posts views Thread by Jon Asher | last post: by
6 posts views Thread by RitaG | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.