- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- scp not working for particular folder
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2011 05:05 AM
тАО06-17-2011 05:05 AM
scp not working for particular folder
i am trying to scp from one server to other.its working for other directories but for a particular directory its not working. it is not prompting for password n neither throwing any error.
can anyone please help
- Tags:
- scp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2011 05:44 AM
тАО06-17-2011 05:44 AM
Re: scp not working for particular folder
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2011 02:03 PM
тАО06-17-2011 02:03 PM
Re: scp not working for particular folder
Not very detailed descriptions of anything.
uname -a
ssh -V
> i am trying to scp [...] it[']s not
> working.
Not a useful problem description. It does
not say what you did. It does not say what
happened when you did it. As usual, showing
actual commands with their actual output can
be more helpful than vague descriptions or
interpretations.
> can anyone please help
Given almost no useful information, I
wouldn't bet on it. We non-psychics can't
see what you did, which files exist where,
who owns what, what any permissions are,
what's different between "other directories"
and "a particular directory", or anything
else, unless you show us.
Adding "-v" (or "-vv", ...) to an "scp"
command can provide some diagnostic messages,
but they tend to be more valuable for
problems with authentication, which does not
seem to be your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2011 03:40 PM
тАО06-17-2011 03:40 PM
Re: scp not working for particular folder
If you don't get an error, what is the exit status?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2011 10:57 PM
тАО06-19-2011 10:57 PM
Re: scp not working for particular folder
scp -pr source_folder user@destination server
it's not throwing any error, neither is it prompting for the password nor is it copying the files.
But wen i use full command path i.e usr/bin/scp -pr source_folder user@destination server
then it is working fine.
outside this directory the command works as fine with "scp" only,i need not use the full path there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2011 04:52 AM
тАО06-27-2011 04:52 AM
Re: scp not working for particular folder
> user@destination server then it is working fine.
That was actually "/usr/bin/scp"?
> outside this directory the command works as fine with "scp" only,i
> need not use the full path there.
You've solved the problem.
Which shell are you using?
type scp
and/or:
which scp
and/or:
whence scp
(Inside and outside this special directory.)
echo $PATH
Having "." on your PATH is not always a good idea. Having "." on your
PATH _before_ the normal directories (like, say, "/usr/bin") may be an
especially not-good idea.