I am using ssh (WinSCP) to transfer some files from a server to my workstation.
The problem is that at some files I get disconnected. Always same files. I am the owner of the directory so I guess the file permissions is not a problem. (Also I set the permissions to 777). Is there a size limit or something like that?
Protocol is SFTP, server is 32bit machine. Files are 100MB tops.
Added:
Worked with Filezilla using ftp. This temporarily fix the problem but is not exactly a solution since maybe next time I won't have root access to create a ftp account
Are the files that you get disconnected on quite large ? Perhaps you need to configure keepalive in winscp. In the Login Dialog->Connection Section turn keepalives on by selecting one of the options. The default 30s should be sufficient for the time between keepalives.
Can you use another program than WinSCP for testing and set debugging / verbose mode on? Or maybe WinSCP has that too. It might give you good information about why the connection was dropped.
Some options:
Try one problem file on its own
Try using another client (FileZilla?)
Try via a command line ?
Is this transfer going through a Firewall or Intrusion Prevention device? They can easily cut connections based on flaky signatures, weird flags, etc. it's also possible a Antivirus scanner could pull off the same thing.
I would compress the files into a tar ball. And then transfer just the one file across. It will be a lot quicker. Then SSH into the target server, and uncompressed it.