- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Retrieve files via ftp and symbolic links
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
12-02-2003 02:24 AM
12-02-2003 02:24 AM
I need to download files from an ftp server (installed over hp-ux 11.x), these files are referenced by symbolic links and I need to use the symbolic links as starting points, as follows:
LinkFile -----> symlink -----> RealFile
Some clients works perfectly: when I execute the command "GET LinkFile", the system follows the link and downloads the RealFile without any problem.
In some other cases, it doesn't work and the client returns an error, but its meaning is not clear to me.
Who can help me in identifying how I can overcome this problem?
Btw, who follows the link? Is it the ftp client that follows the link or viceversa the fact that a file is referenced by a link is transparent to the client (and following the link is handled by Unix)?
Thank you in advance!
Best regards.
Diego.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 02:27 AM
12-02-2003 02:27 AM
Re: Retrieve files via ftp and symbolic links
Could it have to do with the permissions on the file being linked to? Maybe the user doesn't have rights and everything is working just as it should.
This sounds like a situation calling for a little Unix Dectective work.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 02:32 AM
12-02-2003 02:32 AM
SolutionRgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 02:32 AM
12-02-2003 02:32 AM
Re: Retrieve files via ftp and symbolic links
With some clients it works, with some other clients it doesn't.
But I wonder if there is an ftp command to be sent so that a client with the problem could fix its problem.
It is not an issue regarding the permissions. The "real" file has correct permissions for downloading and the symlink is set 777.
Thank you!
Diego.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 02:32 AM
12-02-2003 02:32 AM
Re: Retrieve files via ftp and symbolic links
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 01:31 AM
12-03-2003 01:31 AM
Re: Retrieve files via ftp and symbolic links
1) the ftp client reports the following error:
550 /tmp/testfile: Not a directory
... but filename is a symlink pointing to a regular file, not a directory at all.
2) The syslog doesn't report any error.
Thank you again.
Diego.