Thanks for your reply. Sorry for the late reply.
my goal is , i need to transfer file from unix to webmethods installed Linux/unix system. And what about system command.? in sftp.
Using Openssh i need to do these file transfer.
Do i need to call ssh program before calling sftp or internally it ll happen (when using shell script) like this:
if any error on this state your reply with code example.
Thanks in advance.
---------- Post updated at 12:47 PM ---------- Previous update was at 12:32 PM ----------
Hi andrew,
thanks for your reply. I have instructed to use sftp only and i dont know much about lftp.
Hi All,
I have written a script that transfers(FTP) files from Unix system to MVS system.
Below is the code for it.
ftp -inv $HOST<<ftp_test
quote site LRECL=200
quote site BLKSIZE=28000
mput SOURCE DEST
ftp_test
Here I need the help, if the above code can get... (3 Replies)
When the programmer use 'open' function, the process is like below.
"open -> system call wrapper of open in Glibc -> syscall_open in kernel"
I found the wrapper of open, but there is no implementation like 'int $80'.
int
__open (file, oflag)
const char *file;
int oflag;
{
... (3 Replies)
Dear All,
Newbie here, hope my post goes to the correct room.
System: SCO Open Server 6.0
Everything running well, after this Sunday morning noone can login via telnet or via putty, the system suddenly reject without any message (and also ftp). The local IT Support there (without enough... (2 Replies)
Hi,
I am creating a script that will:
1. Connect to SFTP server
2. Get the file content's first 6 character (ddmmyy) and compare it to today's date (also in ddmmyy format). This is the header of the file. However, the header contains a few more information. So i need to only get the first 6... (0 Replies)
Hi,
Is it possible to do hard link between the mount point of file some structure to the sftp account of some other server ? If possible then what could be the behavior of link properties? Is it could be the same as we found in our environment (unix/linux).
Even if we do such link , then it... (1 Reply)
Hi,
I have situation where i need to automate transferring 10000+ files using sftp.
while read line
do
if ; then
echo "-mput /home/student/Desktop/folder/$line/* /cygdrive/e/folder/$line/">>sftpCommand.txt
fi
done< files.txt
sftp -b sftpCommand.txt stu@192.168.2.1
The above... (1 Reply)
Hi friends,
I am trying to use the open system call in c++ language. Please have a look at my code.
vi Open.cpp
1 #include <stdio.h>
2 #include <iostream>
3
4 #define BUFSIZE 1
5
6 using namespace std;
7
8 int main()
9 {
10 ... (5 Replies)
Hi,
There are two servers which needs to be connected via the port number 1521 from a remote server.
This is the port config in the first server : L28tstream1 :
# netstat -tulpn | grep 1521
tcp 0 0 10.67.26.183:1521 0.0.0.0:* LISTEN ... (2 Replies)