Created on 02-03-2016 02:06 AM - edited 09-16-2022 03:01 AM
I know this file is very big one, but I have to upload to HDP server for hdp/ambari installation.
tried use winscp and ptscp(putty) to upload this file, failed many time, got error like 'timeout', 'network error occured'.
someone there mush uploaded this file to server, how you guys did it?
Please share your exp.
thanks,
Robin
Created 02-03-2016 05:03 AM
Hi Robin, Please look into this Filezilla. https://filezilla-project.org/
There is a way to set ping request every few seconds
Here is another idea ...read this http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#faq-timeout
This is a Windows problem, not a PuTTY problem. The timeout value can't be set on per application or per session basis. To increase the TCP timeout globally, you need to tinker with the Registry.
On Windows 95, 98 or ME, the registry key you need to create or change is
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\
MSTCP\MaxDataRetries
(it must be of type DWORD in Win95, or String in Win98/ME). (See MS Knowledge Base article 158474 for more information.)
On Windows NT, 2000, or XP, the registry key to create or change is
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\
Parameters\TcpMaxDataRetransmissions
and it must be of type DWORD. (See MS Knowledge Base articles 120642 and 314053 for more information.)
Set the key's value to something like 10. This will cause Windows to try harder to keep connections alive instead of abandoning them.
Created 02-03-2016 02:08 AM
why don't you scp it in terminal? You can also try rsync as that can retry from where you left off. The colon at the end is necessary.
scp file.rpm root@server:
Created 02-03-2016 02:21 AM
thank you, let me know it now.
Created 02-03-2016 02:53 AM
I tried to upload file from windows to linux, so I use pscp -scp option, it connected, but failed to copy.
thanks,
Created 02-03-2016 05:03 AM
Hi Robin, Please look into this Filezilla. https://filezilla-project.org/
There is a way to set ping request every few seconds
Here is another idea ...read this http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#faq-timeout
This is a Windows problem, not a PuTTY problem. The timeout value can't be set on per application or per session basis. To increase the TCP timeout globally, you need to tinker with the Registry.
On Windows 95, 98 or ME, the registry key you need to create or change is
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\
MSTCP\MaxDataRetries
(it must be of type DWORD in Win95, or String in Win98/ME). (See MS Knowledge Base article 158474 for more information.)
On Windows NT, 2000, or XP, the registry key to create or change is
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\
Parameters\TcpMaxDataRetransmissions
and it must be of type DWORD. (See MS Knowledge Base articles 120642 and 314053 for more information.)
Set the key's value to something like 10. This will cause Windows to try harder to keep connections alive instead of abandoning them.
Created 02-03-2016 02:14 PM
Thanks Neeraj for all these details. I was looking for a way to configure this, you provide exact steps. thank you.
Robin