File copying from local to server without user / FTP

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

Post Reply
sandeepraul
Forum Newbie
Posts: 2
Joined: Mon Oct 09, 2006 8:58 am

File copying from local to server without user / FTP

Post by sandeepraul »

Hi,

I have a client machine and a server machine. There is a desktop application that is suppose to transfer the file from local to server machine. The desktop application will make a call to PHP script on the server and will pass the filename with absolute path (example: D:\upload\samplefile.txt).

I am trying to find a way out to read the content of file from local machine using the parameters send to PHP Script. This is to be done without using FTP. On the server, it is required to read the file and store it at particular location.

So basically it is file copying from local to server machine without user interaction, without FTP.

Can anyone help me out in this?

Thanks a million.
Sandeep R.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

The local filesystem path is not enough. The client has to send the file's contents.
Post Reply