- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to move file to directory by using ftp command
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-08-2007 06:41 PM
тАО06-08-2007 06:41 PM
How to move file to directory by using ftp command
i can copy file from windows to unix by using ftp command but copy only to file i con't
copy to directory e.g /tmp
how to copy to directory by using ftp command
thanks and best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2007 08:00 PM
тАО06-08-2007 08:00 PM
Re: How to move file to directory by using ftp command
the FTP server?
If the Windows system is the client, which
FTP client program are you using?
Most command-line FTP clients have a "cd"
command. For example, from an HP-UX
"man ftp":
cd remote-directory
Set the working directory on the server host to remote-directory.
So, using a typical command-line FTP client,
you might say:
cd /tmp
put file
Without knowing more about your situation,
it's hard to say much more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2007 08:12 PM
тАО06-08-2007 08:12 PM
Re: How to move file to directory by using ftp command
i am using this commands
c:\> cd
c:\> ftp
Give the username/password
Make it binary or ascii as per requirement.
Binary ( for data files)
Ascii ( for text files)
ftp> bin or ascii
ftp> put
ftp> bye
and i am need to move the file getsysinfo.sh to my server on /tmp
ftp>put getsysinfo.sh /tmp
in this case the file not moved because the /tmp it is directory
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2007 09:30 PM
тАО06-08-2007 09:30 PM
Re: How to move file to directory by using ftp command
you cannot:
"ftp>put getsysinfo.sh /tmp"
you shoud:
ftp> cd /tmp
250 CWD command successful.
ftp> ascii
200 Type set to A.
ftp> put getsysinfo.sh
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2007 01:27 AM
тАО06-09-2007 01:27 AM
Re: How to move file to directory by using ftp command
you could probably use:
put
This will work with many (but not all) FTP
servers. The "cd" method should be more
widely accepted.
Some FTP servers may not allow you access to
the whole file system, especially when
anonymous FTP is used, and this could make
it impossible to get to "/tmp". For the
details, "man ftpd", and look for "anonymous"
and "chroot". This is probably _not_ your
problem.
> in this case the file not moved because
> the /tmp it is directory
As usual, the actual error message might have
been more helpful than your description of
it. I'll assume that it said:
553 /tmp: Is a directory.