- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Native::SFTP::Foreign ERROR: (Network failure / Wr...
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
10-27-2009 12:26 AM
10-27-2009 12:26 AM
Native::SFTP::Foreign ERROR: (Network failure / Write permission denied?) Fail to transfer
ERROR: (Network failure / Write permission denied?) Fail to transfer test1.xml
This file is getting transferred with normal native-sftp.
Please let me know if anyone can provide some information on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2009 12:38 AM
10-27-2009 12:38 AM
Re: Native::SFTP::Foreign ERROR: (Network failure / Write permission denied?) Fail to transfer
1. Could be restriction on both source and target.
(deny sftp for other networks segments)
2. Write permission denied
Anynomus ftp account also can show above error (becoz only particular ftpgroup can only write )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2009 02:18 AM
10-27-2009 02:18 AM
Re: Native::SFTP::Foreign ERROR: (Network failure / Write permission denied?) Fail to transfer
Couldn't setstat remote file (fsetstat): Permission denied
Do you have an idea of the above error? Why am i not getting the error when i connect through native sftp?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2009 05:28 PM
10-27-2009 05:28 PM
Re: Native::SFTP::Foreign ERROR: (Network failure / Write permission denied?) Fail to transfer
Couldn't setstat remote file (fsetstat): The requested operation
cannot be performed because there is a file transfer in progress.
Ans: Try passing the late_set_perm option to the put method:
$sftp->put($local, $remote, late_set_perm => 1)
or die "unable to transfer file: " . $sftp->error;
Some servers do not support the fsetstat method on open file handles. Setting this flag allows to delay that operation until the file has been completely transferred and the remote file handle closed.
Send me a bug report containing a dump of your $sftp object so I can add code for your particular server software to activate the work-around automatically.
HTH,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2009 02:42 AM
11-03-2009 02:42 AM
Re: Native::SFTP::Foreign ERROR: (Network failure / Write permission denied?) Fail to transfer
i tried using $sftp->put($local, $remote, late_set_perm => 1) but it also did not worked.
It is giving the below error.
OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
debug1: Reading configuration data /home/dmd_batch/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be trusted.
ssh: edrops.musicnet.com : Name or service not known
when i connect to the server through normal sftp it creates the directory and transfer the file..
but with this new sftp::foreign it is not creating directory also.
Please find my code/script attached and help me in this regard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2017 06:56 PM
07-04-2017 06:56 PM
Re: Native::SFTP::Foreign ERROR: (Network failure / Write permission denied?) Fail to transfer
Thanks a lot Johnson. It solved my issue