Topic "Download Files from Directory with Spaces in Batch"

Author Message
reiibs
[View user's profile]

Joined: 2006-12-07
Posts: 6
Location: Austria
Hi,

I had read the Post "CD to Directory with Spaces", but this didnt solves my problem.
I want to download only Files from a directory without subdirs. I tried the following command: winscp3.com user@host /command "option exclude */" "get /dir/dir with spaces/" Exit and the error message says "Cant get attributes for file '/dir/dir' and also permission denied.

How can i solve that or is it not possible. If i must not use a scriptfile it would be absolutly great.

Many Thanks
Reinhard
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Do to limitations of command-line parsing on Windows, you cannot do that. You need to use script file.
_________________
Martin Prikryl
reiibs
[View user's profile]

Joined: 2006-12-07
Posts: 6
Location: Austria
Hi,

I found an other solution. When you use "echo get "Sourcepath" "Destionationpath" | Winscp3.com than its working.

If details are needed please write me a note.

Regards
Reinhard
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Good Smile I have meanwhile realised the same. I have put some tips into documentation.
_________________
Martin Prikryl
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