473,372 Members | 967 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,372 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 4923
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.