That's fantastic, thanks a lot Kieran.
I didn't forget to include some of the code though, it only contained my username and password anyway! I thought it best not to post it.
As for file size, I was trying to upload a text file that said "hello" so it was well within the 2Mb limit.
Thanks for your help though, I'll try it tonight. Hopefully all will be good.
One quick question though. Where you've got the 'copy' function, will I need to change the destination path? I thought that the destination path would be relative to where the PHP script is, but from what I can tell the path "/home/your_user_name/public_html/_uploads/$source_name" is relative from the root directory (or something lol).
So if I had the PHP script in a folder called 'scripts' and wanted to upload the file to a subdirectory called 'uploads', would the destination path look like "/uploads/$source_file" or would I have to keep all of the "/home/your_user_name/public_html/..." parts as well.
Sorry I'm sure you've got better things to do, but just thought I'd ask.
