Topic "how to get one file"

Author Message
wanm

Guest


i can getfiles by wildcard,but if set fullfath and filename,seem it can't work

TransferOperationResult transferResult;
transferResult = session.GetFiles("/Article/a.asp", "E:\\download\\");
transferResult.Check();


log:
2016-07-23 09:58:53.939 Listing file "/Article/a.asp".
. 2016-07-23 09:58:53.940 Retrieving file information...
> 2016-07-23 09:58:53.940 MLST /Article/a.asp
< 2016-07-23 09:58:53.945 502 Command not implemented.
. 2016-07-23 09:58:53.945 Could not retrieve file information
< 2016-07-23 09:58:53.945 Script: Can't get attributes of file '/Article/a.asp'.
< 2016-07-23 09:58:53.945 Could not retrieve file information

< 2016-07-23 09:58:53.946 Command not implemented.
. 2016-07-23 09:58:53.946 Script: Failed
> 2016-07-23 09:58:54.029 Script: exit
. 2016-07-23 09:58:54.029 Script: Exit code: 1
wanm

Guest


who can help me,thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Please attach a complete log files both for the wildcard and the one file.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License