473,408 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 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 4927
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John Finch | last post by:
We are running SQL 7 on a Windows NT Server. If you copy a 25Mb file from this machine to a W2K server, the file copy takes over 5 minutes on a 100Mpbs switched network. Copying the same file to...
0
by: Tess | last post by:
Hi, Long time reader, first time poster... Any help is appreciated. I have a few questions regarding Winform controls embedded within an html page. For more info please see the appendix. Now,...
2
by: Shayer | last post by:
Hello I want to copy a file from server to client machine. How can i do that. I may have to use byte stream but how can i do that . Pls tell me THanks
1
by: POnfri | last post by:
Hi, I have a problem in a peace of code were i'm doing a file copy using File.Copy. The Source is local and the target is a remote machine. Example: File.Copy(C:\temp\hi.txt,...
2
by: Stephen Witter | last post by:
I had previously posted this on the security ng, but haven't had a hit so I was wondering if someone here would be willing to take a stab. I am trying to copy a file to a network drive. I can do...
3
by: Shailesh Gajare | last post by:
Hi All, I have creating an ASP.Net application with two web servers. I am uploading a file which is being uploaded on one of the server, I want to copy the uploaded file on the other server at the...
4
by: Jon Asher | last post by:
Hi, I'm trying to do a simple import of a comma delimited text file with COPY but it's returning an error. The file has been granted all permissions in Linux, so it's not clear to me what the...
9
by: CGW | last post by:
I asked the question yesterday, but know better how to ask it, today: I'm trying to use the File.Copy method to copy a file from a client to server (.Net web app under IIS ). It looks to me that...
6
by: RitaG | last post by:
Hello. I have a VB.Net program that copies a file from one server to another server. This program has been working without any problems for about a year. A couple of weeks ago the "server from"...
9
by: fniles | last post by:
I would like to copy a table(s) from SQL Server 2005 to a CVS file and vice versa. I was thinking to use the BCP command line utility, but I have a few questions: 1. The machine where I am...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.