Your Server

How do I upload a file using a form on a remote server?

I need to upload files from any computer to a remote server (using a form on my remote server)? Is this possible? I want to be able to upload files from any computer to a remote server. For example, I have created a website which is hosted on a server. I want to go to this website from any computer, any where and be able to upload files from that local pc to the remote server.

Public Comments

  1. Here is a tutorial that has helped me with the same situation: http://www.w3schools.com/php/php_file_upload.asp
  2. the server's default directories are umasked so that the permissions come out as 644, so that should not be a problem IF you are logged into an account - otherwise, you only have read access. 644 means the owner gets read-write access, group and other gets readonly access. also, there is typically an upload file size limit of about 2MB due to the php.ini settings. you might be able to see what the settings are with php_info(). there also is a php execution time limit of 20 seconds or something like that. if your upload goes beyond that, check with your hosting support and see if there is a way to change these settings for your account for file uploads - just tell them you are trying to do file uploads. and if it is OK for the besides - why don't you try using an FTP client instead of the web anyway? it works a LOT better and it handles bigger files and there are a lot fewer issues. one of the things you can do is write an ftp script on php to run on your local machine (you must install php and add where PHP.exe is to your path) to upload the files automatically in batch. that is what I do when I update my web site. If you can stand some XML and PHP, try the third link.
Powered by Yahoo! Answers