The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Error in Cygwin AnneAnne Shell Programming and Scripting 6 03-10-2009 09:59 PM
compilation error while using cygwin shafi2all High Level Programming 4 05-15-2008 12:22 PM
How to use cygwin to run bash script Jenny.palmy UNIX for Dummies Questions & Answers 6 04-28-2008 01:00 PM
E:348 no string under cursor error comes in vi editor in cygwin mrityunjay22 Shell Programming and Scripting 0 12-25-2007 09:52 AM
how to run cgi -script on Cygwin ? jambesh Shell Programming and Scripting 1 12-06-2007 09:56 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-21-2009
cav.turbo cav.turbo is offline
Registered User
  
 

Join Date: Apr 2009
Location: Nottingham
Posts: 2
cygwin scp script error

I'm using cygwin scp to copy a file down from a AIX server to my laptop.

I've got he script working from the command line. The file I'm copying is Processed.Apr21 and I'm copying it to /event_transfer folder on my laptop.

scp username@149.131.224.104:/var/Tivoli.../processed.Apr21 /event_transfer

This works fine until I try and run it from a script and then I just get "No Such File or Directory"

Any ideas anyone?
  #2 (permalink)  
Old 04-21-2009
pradeepreddy pradeepreddy is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 66
check out whether there is any spelling mistake .Like upper case or lower case .

Also check out whether the path is correct or not.
  #3 (permalink)  
Old 04-21-2009
pradeepreddy pradeepreddy is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 66
check out whether there is any spelling mistake .Like upper case or lower case .

Also check out whether the path is correct or not.
  #4 (permalink)  
Old 04-21-2009
cav.turbo cav.turbo is offline
Registered User
  
 

Join Date: Apr 2009
Location: Nottingham
Posts: 2
I've double checked paths. But copying the command line from the script and pasteing it manually works. So I know there are no spelling mistakes.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:04 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0