I just installed ubuntu on my laptop. I am not able to upload any file to my web server using ftp or direct from cpanel. I also tried to change folder permission on server . while uploading via cpanel it stuck on middle and never complete and on filezilla it retry 2-3 times and failed to upload. but on same server it is ok to upload files from windows OS. I have no idea what to do. Please help.
edit: I have tried to upload an empty file. It has uploaded. after that I tried to upload files with coding but not succeed.