Computing.Net > Forums > Web Development > PHP upload file to remote host

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

PHP upload file to remote host

Reply to Message Icon

Name: firstofthephp
Date: June 16, 2006 at 06:58:29 Pacific
OS: Ubuntu 6.06 + Apache 2 an
CPU/Ram: 1.4ghz AMD Athlon, 384mb
Product: -
Comment:

Hello, does anybody know how I can upload a file from my Apache server to the remote host via PHP? I also have FTP, if that makes any difference. What I want is for when someone goes to my computer (say, http://192.168.1.123/upload.php) it will put a file on the desktop of the computer that accessed it (the computers that are accessing this are running Windows XP)

The reason I ask is because I'm setting up a small network and all of the computers running Windows that have Deepfreeze on them, so files can not be saved. This file isn't always needed, so this is the solution I had in mind.

Thanks everybody!



Sponsored Link
Ads by Google

Response Number 1
Name: Laler
Date: June 16, 2006 at 08:22:02 Pacific
Reply:

No you can't put files (except cookies) into the visitor's PC without their permission. I think the best you can do is to provide download links, automatic if you prefer.

---
Site of the Day


0

Response Number 2
Name: Laler
Date: June 16, 2006 at 08:30:42 Pacific
Reply:

PHP & FTP

If every PC has FTP server enabled (it's in IIS), and you (the webserver) has access & the required username, the FTP server can be set to include the user's desktop in it. So you can upload files by using PHP's FTP functions in anytime you like without buggering the user.

---
Site of the Day


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: PHP upload file to remote host

php upload via url(remote server) www.computing.net/answers/webdevel/php-upload-via-urlremote-server/3499.html

Upload files to home server www.computing.net/answers/webdevel/upload-files-to-home-server/3609.html

Prob uploading files to site www.computing.net/answers/webdevel/prob-uploading-files-to-site/2059.html