- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP from Windows NT to HP-UX 10.20
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
Forums
Discussions
Discussions
Discussions
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
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
04-30-2001 05:26 AM
04-30-2001 05:26 AM
Many thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 05:42 AM
04-30-2001 05:42 AM
SolutionTry this :
ls [remote-directory] [local-file]
Write a listing of remote-directory to local-file. The listing
includes any system-dependent information that the server chooses
to include; for example, most UNIX systems produce output from
the command ls -l (see also nlist). If neither remote-directory
nor local-file is specified, list the remote working directory.
If globbing is enabled, globbing metacharacters are expanded.
This is an extract from the ftp manpages.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 05:51 AM
04-30-2001 05:51 AM
Re: FTP from Windows NT to HP-UX 10.20
this should work:
ftp -n aserver << T
user aloginname apassword
ls -l "afilename"
bye
T
but on the other hand, so will this (this will only result in a little bit more garbage from ftp)
ftp -n aserver << T > afilename
user aloginname apassword
ls -l
bye
T
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 05:57 AM
04-30-2001 05:57 AM
Re: FTP from Windows NT to HP-UX 10.20
Here is one.
http://home.mayn.de/ebaumann/download/download-dateien.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 06:03 AM
04-30-2001 06:03 AM
Re: FTP from Windows NT to HP-UX 10.20
1. For doing the FTP, you want to write a script that will FTP from UNIX to NT box. Take a look at this thread for some good tips on doing that.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x1774dfe5920fd5118fef0090279cd0f9,00.html
**
2. Now for that ls command. You can use ls while in FTP, but I've never parsed it to save to a file. FTP is a simple protocol that was just meant to list, get, or put files.
Also remember, even if you telneted to that NT server, once you got there you must use the tools on that server, so your command from whence you came (i.e. UNIX...became moot at that point).
What you would need to do is develop something on your NT box to save this information to a file and then when you FTP from the UNIX server you can now 'get' that file.
It also might help if you saved it as an ascii file, that way you can do the 'dos2ux' and visa versa 'us2dos' to translate.
Hope this helps....but wait for more suggestions, there's always other options,
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 06:11 AM
04-30-2001 06:11 AM
Re: FTP from Windows NT to HP-UX 10.20
uer "username""password "
bin
dir file
quit
EOF