Hello friends,
I was doing this test script which would take a file from my own E: drive to the unix server which i access from a putty.
I tried
sftp <osuser>@<ipaddress>
but it didn't work.
does the windows client have to be a server installation?
i was trying on win xp from... (4 Replies)
Hello All :),
I am making a script in the ksh to Secure FTP a set of files from the E:/ drive in windows a computer to a unix server.
Had it been in the unix directory, I could have used the expect utility to use the non-interactive mode for sftp,
#!/usr/local/bin/expect
#!/bin/ksh
... (12 Replies)
Hallo all ,
I researched many article in this forum as well as googled. But could not get any help. I request the forum to extend some help.
Issue: Want to do a passwordless sftp from an unix machine to windows
action taken :
1) on local unix machine ssh-keygen -t dsa
2) Next step ,... (2 Replies)
Hi,
I am having unix server SUNW,Sun-Fire-V245.
remote windows server details: Microsoft Windows
In my script i am sftp'ing files to the windows server through sftp command.
But the problem i am facing is, some files are successfully sftp'd to windows server and for some files sftp is... (0 Replies)
I'm working on setting up an automated script on a unix server to secure ftp (get) a file from a remote host which is a windows server with Vshell . I understand in order for the paswword-less authentication to work , I need to copy the authorization keys of our server(Solaris) to the remote host... (1 Reply)
Hi,
Could you please help to solve the below issue...
my requirement is automate the SFTP between UNIX and Windows server.
I want to get and put some files to UNIX AIX machine(SFTP client) to Windows server(SFTP server).
For that, i have generated key pair (private/public) in my AIX machine .... (6 Replies)
Hi guyz,
I have a Solaris 5.9 box from which i need to connect to a windows server using Coreftp (passwordless login). Coreftp is installed on windows and in solaris, it is already available.I generated a pair of key(public,private) in windows and specify pub key over there, edit the know_hosts... (7 Replies)
Guys,
sftp between Unix & Windows
I'd like to get good software or a way to how to configure sftp between ( windows to Unix ) and ( Unix to windows ) to be automatic login between the different operating systems without asking password ..
Pls assist in this regard … (3 Replies)
Hi all
Not sure where I should be posting this so apologies if it's in the wrong section.
I'm trying to set up a system where we can copy a file (get) from a Windows server to a Unix server using SFTP in an automated way.
I've installed CoreFTP Server on the Windows server and can connect... (2 Replies)
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
LEARN ABOUT DEBIAN
io::async::channel
IO::Async::Channel(3pm) User Contributed Perl Documentation IO::Async::Channel(3pm)NAME
"IO::Async::Channel" - pass values into or out from an IO::Async::Routine
DESCRIPTION
A "IO::Async::Channel" object allows Perl values to be passed into or out of an IO::Async::Routine. It is intended to be used primarily
with a Routine object rather than independently. For more detail and examples on how to use this object see also the documentation for
IO::Async::Routine.
A Channel object is shared between the main process of the program and the process running within the Routine. In the main process it will
be used in asynchronous mode, and in the Routine process it will be used in synchronous mode. In asynchronous mode all methods return
immediately and use "IO::Async"-style callback functions. In synchronous within the Routine process the methods block until they are ready
and may be used for flow-control within the routine. Alternatively, a Channel may be shared between two different Routine objects, and not
used directly by the controlling program.
The channel itself represents a FIFO of Perl reference values. New values may be put into the channel by the "send" method in either mode.
Values may be retrieved from it by the "recv" method. Values inserted into the Channel are snapshot by the "send" method. Any changes to
referred variables will not be observed by the other end of the Channel after the "send" method returns.
Since the channel uses Storable to serialise values to write over the communication filehandle only reference values may be passed. To pass
a single scalar value, "send" a SCALAR reference to it, and dereference the result of "recv".
CONSTRUCTOR
$channel = IO::Async::Channel->new
Returns a new "IO::Async::Channel" object. This object reference itself should be shared by both sides of a "fork()"ed process. After
"fork()" the two "setup_*" methods may be used to configure the object for operation on either end.
While this object does in fact inherit from IO::Async::Notifier for implementation reasons it is not intended that this object be used as a
Notifier. It should not be added to a Loop object directly; event management will be handled by its containing "IO::Async::Routine" object.
METHODS
$channel->configure( %params )
Similar to the standard "configure" method on "IO::Async::Notifier", this is used to change details of the Channel's operation.
on_recv => CODE
May only be set on an async mode channel. If present, will be invoked whenever a new value is received, rather than using the "recv"
method.
$on_recv->( $channel, $data )
on_eof => CODE
May only be set on an async mode channel. If present, will be invoked when the channel gets closed by the peer.
$on_eof->( $channel )
$channel->send( $data )
Pushes the data stored in the given Perl reference into the FIFO of the Channel, where it can be received by the other end. When called on
a synchronous mode Channel this method may block if a "write()" call on the underlying filehandle blocks. When called on an asynchronous
mode channel this method will not block.
$channel->send_frozen( $record )
A variant of the "send" method; this method pushes the byte record given. This should be the result of a call to "Storable::freeze()".
$data = $channel->recv
When called on a synchronous mode Channel this method will block until a Perl reference value is available from the other end and then
return it. If the Channel is closed this method will return "undef". Since only references may be passed and all Perl references are true
the truth of the result of this method can be used to detect that the channel is still open and has not yet been closed.
$channel->recv( %args )
When called on an asynchronous mode Channel this method appends a callback function to the receiver queue to handle the next Perl reference
value that becomes available from the other end. Takes the following named arguments:
on_recv => CODE
Called when a new Perl reference value is available. Will be passed the Channel object and the reference data.
$on_recv->( $channel, $data )
on_eof => CODE
Called if the Channel was closed before a new value was ready. Will be passed the Channel object.
$on_eof->( $channel )
$channel->close
Closes the channel. Causes a pending "recv" on the other end to return undef or the queued "on_eof" callbacks to be invoked.
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>
perl v5.14.2 2012-10-24 IO::Async::Channel(3pm)