Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

could please help me in sftp mulitple files

 
652
Advisor

could please help me in sftp mulitple files

i stried sftp by giving the following commnad, but it didn't work

sftp> mput fm*0035.txt
21 REPLIES 21
Joseph Huber_1
Honored Contributor

Re: could please help me in sftp mulitple files

Welcom to the VMS forum!

Would You mind to tell us, what does not work, how doesn't it work, which VMS version, which TCPIP software and version ?

Here on my ancient VMS 7.3-1 with TCPIP 5.4 it looks like:

sftp avmp01
Connecting to avmp01...
sftp> cd scratch/tmp
sftp> mput fw*.zip
Uploading fwAtlas-2.0.2.zip to /DISK$HUBER/HUBER/SCRATCH/tmp/fwAtlas-2.0.2.zip
fwAtlas-2.0.2.zip 100% 22KB 21.6KB/s 00:00
Uploading fwFSMAtlas-3.2.0.zip to /DISK$HUBER/HUBER/SCRATCH/tmp/fwFSMAtlas-3.2.0.zip
fwFSMAtlas-3.2.0.zip 100% 353KB 352.9KB/s 00:01

http://www.mpp.mpg.de/~huber
652
Advisor

Re: could please help me in sftp mulitple files

The VMS version i'm using is VMS 8.3-1H1

sftp2 id@apsp.com

sftp>cd /conv/Extracts
sftp> mput fm*_0035.txt
sftp> mput fmp_0035.txt
fmp_0035.txt | 1.3MB | 656.0 kB/s | ETA: 00:01:04 | 3%
652
Advisor

Re: could please help me in sftp mulitple files

can anyone help me on this
Highlighted
marsh_1
Honored Contributor

Re: could please help me in sftp mulitple files

hi,

you have'nt said or shown exactly what did'nt work, can you post up any failure messages you got or retry with -v to get the verbose output.

652
Advisor

Re: could please help me in sftp mulitple files

problem is it is not ftp the file to unix box if you give * in the middle of file
Joseph Huber_1
Honored Contributor

Re: could please help me in sftp mulitple files

So Your problem is:
a wildcard "*" mput is doing nothing, but mput with a single file is working ?
I can't reproduce the problem, it works VMS yo VMS and also Linux to VMS.

What are Your systems? both source and destination VMS ?
http://www.mpp.mpg.de/~huber
652
Advisor

Re: could please help me in sftp mulitple files

source is VMS and the destination is UNIX
Jan van den Ende
Honored Contributor

Re: could please help me in sftp mulitple files

652,

>>>
source is VMS and the destination is UNIX
<<<

WHICH unix (and version)

Unix <> Unix <> Unix.

There are MANY Unixes, with similarities, differences, AND incompatibilities...

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Joseph Huber_1
Honored Contributor

Re: could please help me in sftp mulitple files

Ah yes, now I see it:
mput wildcard from VMS to Linux does not work, without any message from the linux side.
same with a wildcard mget from the linux side.

It works if You specify the VMS filename including version like
"mput f*.txt;*"

Probably this behaviour is a result of the SSH shell command issued from sftp.

(sftp,scp) are crooks ;-)
http://www.mpp.mpg.de/~huber