Put the path in double-quotes.
                
            
        
    
    
        
        
            
            
                When get a file in script, say "get test.txt D:\Program Files\WinSCP3", WinSCP regard the path as "D:\Program" instead of "D:\Program Files\WinSCP3" because of the blank in the path, how can I download a file to a path with blank? Thanks very much