- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mget in FTP
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
тАО10-17-2001 04:00 AM
тАО10-17-2001 04:00 AM
ftp> mget *.rtf
After pressing enter I get the following error:
"Arguments too long".
All of the files I'm trying to FTP are similar to the one below:
009891_claim_391_20011012_094452.rtf
How can I resolve this error.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 04:07 AM
тАО10-17-2001 04:07 AM
Re: mget in FTP
Your fundamental problem is that *.rtf is returning more entries than the buffer space for filenames allows. The limit varies from implementation to implementation but you've hit it.
You should be able to mget a subset of those with mget 0*.rtf, mget 1*.rtf ...
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 04:17 AM
тАО10-17-2001 04:17 AM
Re: mget in FTP
doubt here is the length of line name, first you try mget as said by clay, if you couldn't then move the file to a shorter name and do mget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 04:18 AM
тАО10-17-2001 04:18 AM
Re: mget in FTP
doubt here is the length of file name, first you try mget as said by clay, if you couldn't then move the file to a shorter name and do mget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 05:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 07:31 AM
тАО10-17-2001 07:31 AM
Re: mget in FTP
can you get the list of files?
Then you could create a local "$HOME/.netrc" file, which would contain something like this:
machine THATSERVER login YOURNAME password YOURPASSWORD macdef init
cd /SOURCEDIR
lcd /TARGETDIR
bin
get file1
get file2
get file2
.
.
.
quit
and you would copy in all the filenames (one by one) into that textfile, each line starting with "get ".
Make the permissions like 600 or 400, and then start you "ftp THATSERVER" and watch everything being transfered...
HTH,
Wodisch
PS: Do not forget to delete that file afterwards for security reasons (contains a password).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 07:56 AM
тАО10-17-2001 07:56 AM
Re: mget in FTP
-Sri