04-04-2017
SFTP to VM Linux
Hi . We have customer users uploading sales data in excel format in a portal, once this file is uploaded a batch process will SFTP the file from here to a linux virtual machine and then to the mainframe . We are seeing that there are many cases where all the rows the user entered in excel file is not getting transmitted to virtual machine .
How we can make sure that all the rows gets transmitted to virtual machine , if all the rows gets transmitted then only transmit to mainframe else ? is there any specific design considerations we need to follow ? Please suggest valuable thoughts on this ?
Regards
Ron T
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have automated an ftp process that FTP's files from one UNIX box to another in the following format:
ftp -n -v $REMOTE_SERV << EOF
user $FTP_USER $FTP_PASS
cd $REMOTE_PATH
put $CUR_NAME $NEW_NAME
bye
But how can I accomplish this SFTPing from a UNIX box to a LINUX box?
I've seen... (4 Replies)
Discussion started by: TimBurke
4 Replies
2. Windows & DOS: Issues & Discussions
I need to write a batch script for file transfer from SFTP to Windows system. SFTP is on Linux system. I kept this code in batch file and executing it.. but not working.. Even i tried from Command prompt like this "open sftp.host.com" but getting error. Can anyone help with the code and tell me how... (15 Replies)
Discussion started by: mohantmk
15 Replies
3. Emergency UNIX and Linux Support
Hi,
we have a big problem,
history:
we migrated our companies ftp and sftp-server, which were vsftp and openssh, to one server, software is called JSCAPE ftp server professional edition
for the first time everything was great, but after one or two months, our uploads hang, 0 byte files are... (11 Replies)
Discussion started by: funksen
11 Replies
4. UNIX for Advanced & Expert Users
Hi
the below two line in my sh work fine in Linux but when I run it in HP UX it throws error saying "No such file or directory (-)."
can anyone pleas let me know what is wrong. Any help is appreciated.
INPUTFILE="$(echo ls -1t | sftp -b- $SFTPSERVER:$SFTPDIR |grep ^LK| head -1)"
echo... (1 Reply)
Discussion started by: murtymvvs
1 Replies
5. UNIX for Advanced & Expert Users
I'm using RedHat Linux 6.1 and wanted to create an user account with only access to single directory. Have followed all the steps from below link and still user is not able to login:
How to Setup Chroot SFTP in Linux (Allow Only SFTP, not SSH) (link removed)
While the other users, which... (10 Replies)
Discussion started by: asyed
10 Replies
6. Linux
Hi,
I am looking for a shell script to sftp to a file server and copy all the files from a directory after the script is run.
The server name should be a user input parameter and of-course the username/password as well. Rest all should be handled by the script.
I tried with below snippet:-
... (1 Reply)
Discussion started by: happysingh
1 Replies
7. Red Hat
SFTP user creation step…
Create a group
# groupadd sftp_users
If the users doesn’t exist on system , use below command :
# useradd -G sftp_users -s /sbin/nologin username
# passwd username
For already existing users , use below usermod command :
# usermod –G... (1 Reply)
Discussion started by: taherahmed
1 Replies
8. Shell Programming and Scripting
Hi All,
We are working on linux with putty terminal for file transferring using SFTP server...
here we want to know /We have Urgent Requirement
If SFTP connection is successfull then we should get .txt log file in target locaton as "Success/Failure"
Please provide batch script for above... (7 Replies)
Discussion started by: sravanreddy
7 Replies
9. UNIX for Beginners Questions & Answers
I need help writing a simple SFTP shell script to transfer a few files. What I have is server info of the remote computer I will be sending the files to. Please help I am new to the shell/linux stuff.
Example: Password: 1234
User: We1234
We12345@hostname.com
... (3 Replies)
Discussion started by: YaniSol
3 Replies
10. UNIX for Beginners Questions & Answers
Hi Everyone,
I am trying to send files from Linux to DataPower server using public key based authentication but it's not working as expected and every-time password expecting for sftp transfer.
Can someone please help on this?
Steps I fallowed:
Created keys pair at source server... (4 Replies)
Discussion started by: renukeswar
4 Replies
LEARN ABOUT DEBIAN
pvmfmstat
MSTAT(3PVM) PVM Version 3.4 MSTAT(3PVM)
NAME
pvm_mstat - Returns the status of a host in the virtual machine.
SYNOPSIS
C int mstat = pvm_mstat( char *host )
Fortran call pvmfmstat( host, mstat )
PARAMETERS
host Character string containing the host name.
mstat Integer returning machine status:
value MEANING
PvmOk host is OK
PvmNoHost host is not in virtual machine
PvmHostFail host is unreachable (and thus possibly failed)
DESCRIPTION
The routine pvm_mstat returns the status mstat of the computer named host with respect to running PVM processes. This routine can be used
to determine if a particular host has failed and if the virtual machine needs to be reconfigured. The function pvm_notify() can also be
used to notify the caller that a host has failed.
EXAMPLES
C:
mstat = pvm_mstat( "msr.ornl.gov" );
Fortran:
CALL PVMFMSTAT( 'msr.ornl.gov', MSTAT )
ERRORS
These error conditions can be returned by pvm_mstat
PvmSysErr
pvmd not responding.
PvmNoHost
giving a host name not in the virtual machine.
PvmHostFail
host is unreachable (and thus possibly failed).
SEE ALSO
pvm_notify(3PVM), pvm_config(3PVM)
30 August, 1993 MSTAT(3PVM)