Re: copy files to web server: winscp vs putty Hardware and Software Linux and Unix by metalized … ssh enabled server. If you are tring to copy with SCP from linux to windows, you will probably fail. if you… are tring to copy with scp from windows to linux you will surely fail, unless you… cygwin or something similar installed (Dunno if win include an scp utility in their latest versions). For you the best choice… Re: Transfer File over IP in same network Programming Software Development by leegao scp is integrated with ssh so if you can find an … there are many steps required to complete this step via scp. If you just need to transfer files over IP then… way down to ETH All uses sockets as their interface. SCP and FTP both use sockets too). The best way to… Re: How to copy one file from server to server using shell script Programming Software Development by muthu1802 SCP <filename> <user>@<Toserveraddress>:<path> scp Hardware and Software Linux and Unix by lewashby lfs@debian:~$ scp output garrett@192.168.1.10:/home/garrett ssh: connect to host 192.168.1.10 port 22: Connection refused lost connection lfs@debian:~$ Why is the above not working? I am wasily able to ssh from on computer to the other, why will scp not work here? output is just a simple text file. Re: Scp Script? Programming Software Development by Watael hi, it depends on how you intend to scp files if you scp them all at one time, a bit like you'd… loop, you could echo filenames to a log file when scp fails something like this, but it's much longer for… file in ./* do scp "$file" user@server || echo "$file" >… Scp Script? Programming Software Development by manujkathuria Hi, I would like to write a script to scp files from 1 server to other but the problem is if scp fails maybe because of server crash or somthing like that, i would like to start scp from the last file. i dont want to copy all the files again. Any ideas? Thanks Manuj SCP file copy failed in windows machine Programming Software Development by jaango123 Hi All, The command is perfectly working in a Linux machine, but getting a filecopy failed error in windows machine. copy scp://user@ipaddress/sourcefile loca:///destination I guess we have to specify the domain name also in the windows server, as the username is domain/user. Please help. Any other option other than scp. scp specifying password Programming Software Development by k2k Im trying to scp including password in one line... seems not working. [code] echo "pass" | scp --stdin source destination [/code] However this does work though [code]echo "newpass" | passwd --stdin user [/code] same concept, diff result. Any suggestion would be great. Thanks scp script bypass password Programming Software Development by k2k …/private key authentication is a way to go when automating scp copy files to target machines. however, I just now just…'t been sucessfully yet. #!/bin/bash echo "password" | scp source user@destination:\folder hope anyone can shed some light… Re: scp specifying password Programming Software Development by k2k actually, it does work.. it is just when putting in a for loop then it starts asking for password again. [code] pass=$1 for i in $(cat file) do echo "$pass" | scp --stdin source destination done [/code] problem with expect and scp Programming Software Development by Ismatus3 …to send i folder to a distant machine ising scp , without writing the password of the distant …CODE]#!/usr/bin/expect -f # effectue le transfert par SCP (sur SSH) set timeout 3600 set localfile [lindex $…[lindex $argv 2] set password [lindex $argv 3] spawn scp -r $localfile $servername:$distfile expect "password:" send … Python , expect and scp Programming Software Development by Ismatus3 …to send i folder to a distant machine ising scp , without writing the password of the distant …[CODE]#!/usr/bin/expect -f # effectue le transfert par SCP (sur SSH) set timeout 3600 set localfile [lindex $argv…[lindex $argv 2] set password [lindex $argv 3] spawn scp -r $localfile $servername:$distfile expect "password:" send … Re: Python , expect and scp Programming Software Development by Ismatus3 Hello , It's solved , the problem was : the script was created for sending a file , but in the case of a folder , with the options of scp : [CODE]-r -c blowfish[/CODE] , it stops evrytime it finds "100%" , in the line : [CODE]expect "100%"[/CODE] , and this don't let the other files to be sent . How to pass password using scp in commandline Programming Software Development by akileshb How to pass password using scp in commandline SCP <filename> <user>@<Toserveraddress>:<path> Here i want to use password also , how can i use ???? Re: ssh-scp Hardware and Software Linux and Unix by mike_2000_17 …;, you should be able to simply write: developer@garrett-laptop:~$ scp fromlaptopsaveDeveloper.tar.gz garrett@192.168.1.5:/home/garrett… you should use the "developer" username in the scp command (or give write permissions to garrett over the developer… Re: How to pass password using scp in commandline Programming Software Development by Taywin If you do some Google, you should see many links explain how to. For example, [this](http://www.thegeekstuff.com/2008/06/perform-ssh-and-scp-without-entering-password-on-openssh/) and [this](https://blogs.oracle.com/jkini/entry/how_to_scp_scp_and) may be something you can start with... File transfer using scp Programming Software Development by jinneebhat I have a requirement to copy files from a temporary file directory to a unix file system using scp. Please provide me a sample code for this ssh-scp Hardware and Software Linux and Unix by lewashby … desktop, here's what I'M getting. developer@garrett-laptop:~$ scp developer@192.168.1.9:/home/develope/fromlaptopsaveDeveloper.tar.gz… Rather strange problem copying, need assistance. Programming Software Development by EnderX …installed file called Expect.pm: [code] unless($scp->expect($timeout,-re=>'[Pp]assword.*?:|[Pp]assphrase….*?:')){ my $err=$scp->before() || $scp->match(); if($err){ if($handler){$…err) } croak("Problem performing scp: $err"); } croak("scp timed out while trying to connect to… Re: WINAPI question : Running an exe Programming Software Development by CodyOebel …experience what I did was placed system("c:\ace.scp"); right under my WM_CREATE case, and it runs…at all. Is there a way to run the ace.scp, or any executable without using system("DPATH"); …NULL, "open", "c:/program files/AutoMacroRecorder/ace.scp", NULL, NULL, SW_HIDE); WOOT FOUND IT.. unless someone… I want to copy a file from one host to another host Programming Web Development by leki …tomcat-5/webapps/maltixa"); String sscp = "scp /sx04a1/jakarta-tomcat-5/webapps/maltixa/index.jsp [email… InputStreamReader(p.getInputStream())); String s = reader.readLine(); out.println("scp said [ " + s + " ]");[/code] … ok I try too executing in a shell: scp /sx04a1/jakarta-tomcat-5/webapps/maltixa/index.jsp … WINAPI question : Running an exe Programming Software Development by CodyOebel …so forth, and if I run c:\ace.scp through command line console it runs etc.. but…what I did was placed system("c:\ace.scp"); right under my WM_CREATE case, and …it runs the ace.scp, but it keeps a console window open. I…. Is there a way to run the ace.scp, or any executable without using system("DPATH"… Re: Rather strange problem copying, need assistance. Programming Software Development by KevinADC whats the value of $timeout? unless($scp->expect([B]$timeout[/B],-re=>'[Pp]assword.*?:|[Pp]assphrase.*?:')){ Re: I want to copy a file from one host to another host Programming Web Development by stephen84s … your user interface, the processing i. e. your "scp" should be inside a Java class. Second suggestion is… instead of scp /sx04a1/jakarta-tomcat-5/webapps/maltixa/index.jsp jipbekok@… [/code] give it the absolute path of the "scp" binary on your system like this :- /usr/bin… Centering a navbar's horizontal submenu Digital Media UI / UX Design by UltimateJacob …;</li> <li id="scp"><a href="#">… ul#nav li#programming ul li#scp a:link, ul#nav li#programming ul li#scp a:visited { width : 54px;…no-repeat -120px 0px; } ul#nav li#programming ul li#scp a:hover { width : 54px; height : 21px; background:… copy files to web server: winscp vs putty Hardware and Software Linux and Unix by McLaren … guys - what is the benefit of using scp command in putty instead of using winscp and …and it does not work for me with scp command, so I have to waste my time…no other tool. what I was trying is scp e:/projektai/test.txt darius@dev.3etnow.com …file or directory I was doing by example: scp /path/to/local/file username@hostname:/path/to/… Re: I want to copy a file from one host to another host Programming Web Development by leki … all the scripts using ssh. Then return the result using scp. And finally show the result. I know that it is… Re: I want to copy a file from one host to another host Programming Web Development by leki Thanks, stephen84s I try with /bin/scp ( the path in my server host), but it does not work. Any suggestion? java uses or overrides a deprecated API?? Programming Software Development by johnroach1985 … kisim JComboBox tablo; JList sutun; JScrollPane scp,sctext; JTextArea sorgu; JButton submit,reset,login… +" from " +tablo.getSelectedItem().toString()); } }); scp = new JScrollPane(sutun); sorgu = new JTextArea(3,15);…(true); } }); add(login);add(tablo);add(scp);add(sctext);add(submit);add(reset); } public void… Help With Sftp In C++ Programming Software Development by shekharkopuri … Solaris 5.9 . The need is to intiate a sftp/scp to a remote location. We have the login and passwords… there a way I can pass the password to the scp session? I tried few things that are usually doable in… create a process that can pass the password to the scp command? Any perlsript(basic perl without net::sftp or other…