![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SFTP help please | Bab00shka | UNIX for Dummies Questions & Answers | 5 | 12-21-2008 07:49 AM |
| sftp | melanie_pfefer | SUN Solaris | 1 | 03-19-2008 04:00 PM |
| SFTP on AIX 5.2.2 | Fima62 | AIX | 1 | 02-20-2007 06:56 AM |
| rsh commands not getting executed from Solaris 10 System to AIX System | jumadhiya | SUN Solaris | 25 | 01-22-2007 05:26 AM |
| sftp | OrthoProof USA | UNIX for Dummies Questions & Answers | 1 | 06-09-2006 04:44 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
SFTP to MVS system
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 converted to SFTP with same functionality? If so, what the code shall be? NOTE: The size of file is more than 100MB. |
|
||||
|
Quote:
|
|
||||
|
Thanks!
But usually, SFTP also works even if you do not exchange the public keys. The only difference is that, if the keys are shared, it will not prompt for the password. To handle this issue, I am ready to pass the username and password. But will the same code work in the same case? As sftp does not recognizes the "-i" option. It even does not recognize the QUOTE option. Please share with me, if you have a script already in place? Thanking you again.... |
|
||||
|
Quote:
Ah yes, I forgot about that part. I've brought that issue up to management also, and they are looking into it. For now, I've been given an exception to the SFTP debacle on the mainframe. And you're right, the -i option, -n, and a few others are also unavailable in SFTP. Makes me wonder why they'd secure FTP and remove functionality? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|