Hi
I am trying to script SSH ttransfers using Coreftp Lite.
corecmd.exe -ssh sftp://ftpuser:ftppwd@ftphost/folder/*. -p %mypath%\Inbound\
the client finds the file but downloads 0 bytes.
the same thing happens with and without -s
Any help will be appreciated.
Vladimir Fedorov
Scripting ssh transfers downloads 0 bytes
-
- Site Admin
- Posts: 987
- Joined: Mon Mar 24, 2003 4:37 am
RE: Scripting ssh transfers downloads 0 bytes
Here is the log. I sanitized it for userid and hosts
thank you,vladimir Fedorov
Resolving sftp.XXXXXXXX.com...
sftp.XXXXXXXX.com [22] connecting...
SSH-2.0-GXSSSHD_Comments
client -> aes128
server -> aes128
XX:XX:XX:XX
ssh-rsa
Sending password
PWD
Current directory is '/User'
CWD /User
CWD /User/
CWD /User/
RETR /User/%SENDER:01%RECEIVER:01%SFTP%ACCEPTED%39fea1006emtgnlk000g2d6d
%SENDER_01%RECEIVER_01%SFTP%ACCEPTED%39fea1006emtgnlk000g2d6d - 0 bytes transferred
RETR /User/%SENDER:01%RECEIVER:01%SFTP%ACCEPTED%39fedh006emt7fbu000g97ie
%SENDER_01%RECEIVER_01%SFTP%ACCEPTED%39fedh006emt7fbu000g97ie - 0 bytes transferred
RETR /User/%SENDER:01%RECEIVER:01%SFTP%ACCEPTED%39fedh006eiad8v10007t5d5
%SENDER_01%RECEIVER_01%SFTP%ACCEPTED%39fedh006eiad8v10007t5d5 - 0 bytes transferred
RETR /User/%SENDER:01%RECEIVER:01%SFTP%ACCEPTED%39fea1006e7f4712000m8vmc
%SENDER_01%RECEIVER_01%SFTP%ACCEPTED%39fea1006e7f4712000m8vmc - 0 bytes transferred
RETR /User/%SENDER:01%RECEIVER:01%SFTP%ACCEPTED%39fedh006dj68c88000dercg
%SENDER_01%RECEIVER_01%SFTP%ACCEPTED%39fedh006dj68c88000dercg - 0 bytes transferred
RETR /User/%SENDER:01%RECEIVER:01%SFTP%ACCEPTED%39fedh006dgjrrg4000a7dm3
%SENDER_01%RECEIVER_01%SFTP%ACCEPTED%39fedh006dgjrrg4000a7dm3 - 0 bytes transferred
RETR /User/%SENDER:01%RECEIVER:01%SFTP%ACCEPTED%39fedh006d30f1660016ch95
%SENDER_01%RECEIVER_01%SFTP%ACCEPTED%39fedh006d30f1660016ch95 - 0 bytes transferred
RETR /User/%SENDER:01%RECEIVER:01%SFTP%ACCEPTED%39fedh006d15fedc0014n4i0
%SENDER_01%RECEIVER_01%SFTP%ACCEPTED%39fedh006d15fedc0014n4i0 - 0 bytes transferred
sent 13, recd 13
Total uploaded files: 0
Total uploaded data: 0
Total downloaded files: 8
Total downloaded data: 0
thank you,vladimir Fedorov
Resolving sftp.XXXXXXXX.com...
sftp.XXXXXXXX.com [22] connecting...
SSH-2.0-GXSSSHD_Comments
client -> aes128
server -> aes128
XX:XX:XX:XX
ssh-rsa
Sending password
PWD
Current directory is '/User'
CWD /User
CWD /User/
CWD /User/
RETR /User/%SENDER:01%RECEIVER:01%SFTP%ACCEPTED%39fea1006emtgnlk000g2d6d
%SENDER_01%RECEIVER_01%SFTP%ACCEPTED%39fea1006emtgnlk000g2d6d - 0 bytes transferred
RETR /User/%SENDER:01%RECEIVER:01%SFTP%ACCEPTED%39fedh006emt7fbu000g97ie
%SENDER_01%RECEIVER_01%SFTP%ACCEPTED%39fedh006emt7fbu000g97ie - 0 bytes transferred
RETR /User/%SENDER:01%RECEIVER:01%SFTP%ACCEPTED%39fedh006eiad8v10007t5d5
%SENDER_01%RECEIVER_01%SFTP%ACCEPTED%39fedh006eiad8v10007t5d5 - 0 bytes transferred
RETR /User/%SENDER:01%RECEIVER:01%SFTP%ACCEPTED%39fea1006e7f4712000m8vmc
%SENDER_01%RECEIVER_01%SFTP%ACCEPTED%39fea1006e7f4712000m8vmc - 0 bytes transferred
RETR /User/%SENDER:01%RECEIVER:01%SFTP%ACCEPTED%39fedh006dj68c88000dercg
%SENDER_01%RECEIVER_01%SFTP%ACCEPTED%39fedh006dj68c88000dercg - 0 bytes transferred
RETR /User/%SENDER:01%RECEIVER:01%SFTP%ACCEPTED%39fedh006dgjrrg4000a7dm3
%SENDER_01%RECEIVER_01%SFTP%ACCEPTED%39fedh006dgjrrg4000a7dm3 - 0 bytes transferred
RETR /User/%SENDER:01%RECEIVER:01%SFTP%ACCEPTED%39fedh006d30f1660016ch95
%SENDER_01%RECEIVER_01%SFTP%ACCEPTED%39fedh006d30f1660016ch95 - 0 bytes transferred
RETR /User/%SENDER:01%RECEIVER:01%SFTP%ACCEPTED%39fedh006d15fedc0014n4i0
%SENDER_01%RECEIVER_01%SFTP%ACCEPTED%39fedh006d15fedc0014n4i0 - 0 bytes transferred
sent 13, recd 13
Total uploaded files: 0
Total uploaded data: 0
Total downloaded files: 8
Total downloaded data: 0
-
- Site Admin
- Posts: 987
- Joined: Mon Mar 24, 2003 4:37 am
FTP problem
[quote="ForumAdmin"]Looks like there might be some kind of variable problem in the parameters you are passing. Filenames don't look valid.[/quote]
this is a GXS trading grid EDI VAN service with a virtual file system. the files on the server include the % and : signs
i was able to use winscp to download the files, however it drops the file date and is a major pain to script. I Love CoreFTP but i am forced to use other tools because of this issue. I am willing to work with the CoreFtp developer to get this resolved.
this is a GXS trading grid EDI VAN service with a virtual file system. the files on the server include the % and : signs
i was able to use winscp to download the files, however it drops the file date and is a major pain to script. I Love CoreFTP but i am forced to use other tools because of this issue. I am willing to work with the CoreFtp developer to get this resolved.
-
- Site Admin
- Posts: 987
- Joined: Mon Mar 24, 2003 4:37 am
RE: Scripting ssh transfers downloads 0 bytes
I emailed a postion of the results with the following subject:
RE: forum post (Posted: Wed Oct 05, 2011 4:45 pm Post subject: Scripting ssh transfers downloads 0 bytes)
RE: forum post (Posted: Wed Oct 05, 2011 4:45 pm Post subject: Scripting ssh transfers downloads 0 bytes)
Re:Scripting ssh transfers downloads 0 bytes
Is there any way to set host type without using a profile?