10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi guys,
i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not
and again i have to reverse sftp the files from unix to windows server.....
regards,
Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies
2. IP Networking
Ok sftp connects but hangs after I enter the password manually
The ssh version is 1.0
bash-2.05$ ssh -V
SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0.
When I go from solaris 9 to sftp to another server with latest proftpd version it hangs after the password.
proftpd -V
Compile-time... (6 Replies)
Discussion started by: slufoot80
6 Replies
3. UNIX for Advanced & Expert Users
Hello I have a sftp problem.
If I do sftp between some nodes that we installed it works fine i can list
directories and get files.
If I connect with sftp from the other side of a firewall (wich has port 22 open)
I can log in and cd to which ever direcory i want i can do pwd but when i do... (4 Replies)
Discussion started by: vettec3
4 Replies
4. Shell Programming and Scripting
Hi All,Our sftp connection from Solaris to windows 2008 hangs with following verbose output. From the output I can see that the connection itself ( key matching ) is successful , but I can't see sftp prompt.Sun_SSH_1.1.3, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
debug1: Reading configuration data... (1 Reply)
Discussion started by: rahulkav
1 Replies
5. Shell Programming and Scripting
Hi ,
we are writing a shell script to test connection of our destination servers and facing an issue if the destination server doesnt respond. we are using the following command.,
sftp -B /dev/fd/0 <host@servername> << EOF >> file.txt
quit
EOF
---------
The above command hangs for 20min and... (0 Replies)
Discussion started by: mohanpadamata
0 Replies
6. Solaris
Hey all,
Has anyone had this problem?
I am using Reflection X to xterm to a Sol 10 box from a Win XP box. I set the display variable on the Sol:
DISPLAY=xxx.xxx.xxx.xxx:0.0
export DISPLAY
I then try to run the exe but the xterm states it cannot display to the IP. I can get this to work... (2 Replies)
Discussion started by: aeroforce
2 Replies
7. Shell Programming and Scripting
hi,
I have installed WRQ Reflection Suite version 12.0 on my machine.how to configure it? Please suggest me what are the steps after installation? (0 Replies)
Discussion started by: sreelu
0 Replies
8. Programming
I am writing java application on windows.
There are more than 100 threads run within java.exe.
I want to know what threads run within process java.exe so that I can find out if there are abnormal java threads. (4 Replies)
Discussion started by: mika
4 Replies
9. Windows & DOS: Issues & Discussions
hi all
in our office we have windows 2003 server for one particular application designed by our team need one service must be running on windows server now when we run process from any user it runs till that user is logged in as soon as he logs off service stops running.
we had win 2000... (1 Reply)
Discussion started by: zedex
1 Replies
10. Shell Programming and Scripting
Hi All,
I tried searching for this, but I have yet to find anything useful. So here goes,
if a script executed from another script with nohup & hangs, does it affect the parent script? Reason I ask, we have a windows box with NFS, and we use it to store some of our files. Currently, I mount the... (2 Replies)
Discussion started by: Sully
2 Replies
Net::SFTP::Foreign::Constants(3pm) User Contributed Perl Documentation Net::SFTP::Foreign::Constants(3pm)
NAME
Net::SFTP::Foreign::Constants - Constant definitions for Net::SFTP::Foreign
SYNOPSIS
use Net::SFTP::Foreign::Constants qw(:tag SSH2_FILEXFER_VERSION);
print "Protocol version is ", SSH2_FILEXFER_VERSION;
DESCRIPTION
Net::SFTP::Foreign::Constants provides a list of exportable SFTP constants: for SFTP messages and commands, for file-open flags, for status
messages, etc. Constants can be exported individually, or in sets identified by tag names.
Net::SFTP::Foreign::Constants provides values for all of the constants listed in the SFTP protocol version 3 draft; the only thing to note
is that the constants are listed with the prefix "SSH2_" instead of "SSH_". So, for example, to import the constant for the file-open
command, you would write:
use Net::SFTP::Foreign::Constants qw( SSH2_FXP_OPEN );
TAGS
As mentioned above, constants can either be imported individually or in sets grouped by tag names. The tag names are:
:fxp
Imports all of the "SSH2_FXP_*" constants: these are the constants used in the messaging protocol.
:flags
Imports all of the "SSH2_FXF_*" constants: these are constants used as flags sent to the server when opening files.
:att
Imports all of the "SSH2_FILEXFER_ATTR_*" constants: these are the constants used to construct the flag in the serialized attributes.
The flag describes what types of file attributes are listed in the buffer.
:status
Imports all of the "SSH2_FX_*" constants: these are constants returned from a server "SSH2_FXP_STATUS" message and indicate the status
of a particular operation.
:error
Imports all the "SFTP_ERR_*" constants used to represent high level errors: "SFTP_ERR_LOCAL_ALREADY_EXISTS",
"SFTP_ERR_LOCAL_CHMOD_FAILED", "SFTP_ERR_LOCAL_OPEN_FAILED", "SFTP_ERR_LOCAL_READ_ERROR", "SFTP_ERR_LOCAL_STAT_FAILED",
"SFTP_ERR_LOCAL_UTIME_FAILED", "SFTP_ERR_LOCAL_WRITE_FAILED", "SFTP_ERR_REMOTE_BAD_PACKET_SEQUENCE", "SFTP_ERR_REMOTE_BAD_PERMISSIONS",
"SFTP_ERR_REMOTE_BAD_TIME", "SFTP_ERR_REMOTE_BLOCK_TOO_SMALL", "SFTP_ERR_REMOTE_CLOSE_FAILED", "SFTP_ERR_REMOTE_FSETSTAT_FAILED",
"SFTP_ERR_REMOTE_FSTAT_FAILED", "SFTP_ERR_REMOTE_LSTAT_FAILED", "SFTP_ERR_REMOTE_MKDIR_FAILED", "SFTP_ERR_REMOTE_OPENDIR_FAILED",
"SFTP_ERR_REMOTE_OPEN_FAILED", "SFTP_ERR_REMOTE_READDIR_FAILED", "SFTP_ERR_REMOTE_READ_FAILED", "SFTP_ERR_REMOTE_REALPATH_FAILED",
"SFTP_ERR_REMOTE_REMOVE_FAILED", "SFTP_ERR_REMOTE_RENAME_FAILED", "SFTP_ERR_REMOTE_RMDIR_FAILED", "SFTP_ERR_REMOTE_READLINK_FAILED",
"SFTP_ERR_REMOTE_SYMLINK_FAILED", "SFTP_ERR_REMOTE_SETSTAT_FAILED", "SFTP_ERR_REMOTE_STAT_FAILED", "SFTP_ERR_REMOTE_WRITE_FAILED" and
"SFTP_ERR_REMOTE_HARDLINK_FAILED".
Note: these constants are not defined on the SFTP draft.
:ext
Import all the "SSH2_FXE_*" constants: there are the constants defined for usage with SFTP extensions.
Currently, these are supported: "SSH2_FXE_STATVFS_ST_RDONLY", "SSH_FXE_STATVFS_ST_NOSUID".
There is one constant that does not fit into any of the tag sets: "SSH2_FILEXFER_VERSION", which holds the value of the SFTP protocol
implemented by Net::SFTP::Foreign.
AUTHOR & COPYRIGHTS
Please see the Net::SFTP::Foreign manpage for author, copyright, and license information.
perl v5.14.2 2012-05-11 Net::SFTP::Foreign::Constants(3pm)