s).Check()
    $session.PutFiles("d:\*.xml", "/home/martinp/web/", $True, $transferOptions).Check()

  1. The Windows wildcard supports ` * ` and ` ? ` only. If you want to use a full syntax of [ file masks ](/eng/docs/file_mask) , use a ` -filemask  ` switch.  Back 
  2. Applies for individual files transfers only. It does not skip transfer of fully transferred files. For that, combine the switch with ` -neweronly  ` .  Back 

##  Contribute

![PayPal](https://winscp-
static-746341.c.cdn77.org/assets/images/paypal.svg?v=7032)

[ Donate ](/eng/donate.php)

  * [ $9 ](/eng/donate.php?amount=9&currency=USD&class=S "Donate $9 via PayPal")
  * [ $19 ](/eng/donate.php?amount=19&currency=USD&class=S "Donate $19 via PayPal")
  * [ $49 ](/eng/donate.php?amount=49&currency=USD&class=S "Donate $49 via PayPal")
  * [ $99 ](/eng/donate.php?amount=99&currency=USD&class=S "Donate $99 via PayPal")

![Visa](https://winscp-static-746341.c.cdn77.org/assets/images/card-logo-
visa.svg?v=7032) ![Mastercard](https://winscp-
static-746341.c.cdn77.org/assets/images/card-logo-mastercard.svg?v=7032)
![American Express](https://winscp-
static-746341.c.cdn77.org/assets/images/card-logo-amex.svg?v=7032)
![Other](https://winscp-static-746341.c.cdn77.org/assets/images/card-logo-
unknown.svg?v=7032)

##  User Approved Software

###  Total Downloads:

214,431,241

###  Rating:

4.8  out of  195  reviews

[ SourceForge Review ](https://sourceforge.net/projects/winscp/reviews/)

##  Recommend

  *   * [ Tweet ](https://twitter.com/share)

_Advertisement_

##  Most Read

  * [ Login Dialog – Configuring Session ](/eng/docs/ui_login)
  * [ Using Commander Interface ](/eng/docs/ui_commander)
  * [ Installing SFTP/SSH Server on Windows using OpenSSH ](/eng/docs/guide_windows_openssh_server)
  * [ Authentication Progress ](/eng/docs/ui_authenticate)
  * [ Automate file transfers or file synchronization ](/eng/docs/guide_automation)
  * [ Connect to FTP server or SFTP server ](/eng/docs/guide_connect)
  * [ Bookmark Dialog ](/eng/docs/ui_opendir)
  * [ Set up SSH public key authentication ](/eng/docs/guide_public_key)
  * [ Connecting to Amazon AWS S3 cloud storage ](/eng/docs/guide_amazon_s3)

  *   * 

Last modified:  2024-02-15  by [ martin
](/forum/profile.php?mode=viewprofile&u=2)

[ Login ](/eng/docs/scriptcommand_put?do=login)

English

  * [ 简体中文 ](/chs/)
  * [ 正體中文 (繁體) ](/cht/)
  * [ Česky ](/cs/)
  * [ Danish ](/da/)
  * [ Deutsch ](/de/)
  * [ English ](/eng/)
  * [ Español (Castellano) ](/es/)
  * [ Eesti keel ](/et/)
  * [ Français ](/fr/)
  * [ Hrvatski ](/hr/)
  * [ Magyar ](/hu/)
  * [ Italiano ](/it/)
  * [ 日本語 ](/jp/)
  * [ 한국어 ](/ko/)
  * [ Lietuvių ](/lt/)
  * [ Nederlands ](/nl/)
  * [ Polski ](/pl/)
  * [ Română ](/ro/)
  * [ Русский ](/ru/)
  * [ Slovensky ](/sk/)
  * [ Srpski ](/srl/)
  * [ Українська ](/uk/)

##  Documentation

  * [ Quick Start ](/eng/docs/getting_started)
  * [ Guides ](/eng/docs/guides)
  * [ FTP Client ](/eng/docs/free_ftp_client_for_windows)
  * [ SFTP Client ](/eng/docs/free_sftp_client_for_windows)
  * [ SSH Client ](/eng/docs/free_ssh_client_for_windows)
  * [ S3 Client ](/eng/docs/free_s3_client_for_windows)
  * [ Languages ](/eng/docs/languages)
  * [ Scripting ](/eng/docs/scripting)
  * [ .NET and COM Library ](/eng/docs/library)
  * [ Command Line Options ](/eng/docs/commandline)
  * [ Portable Use ](/eng/docs/portable)

##  Support

  * [ Get Support ](/eng/docs/support)
  * [ FAQ ](/eng/docs/faq)
  * [ Troubleshooting ](/eng/docs/troubleshooting)
  * [ Support Forum ](/forum/)
  * [ History ](/eng/docs/history)
  * [ Bug Tracker ](/tracker/)

##  Associations

  * [ SourceForge ](https://sourceforge.net/projects/winscp/)
  * [ TeamForge.net ](https://teamforge.net/)
  * [ DokuWiki ](https://www.dokuwiki.org/)
  * [ phpBB ](https://www.phpbb.com/)

##  Follow Us

  * [ Facebook ](https://www.facebook.com/winscp/)
  * [ Twitter ](https://twitter.com/winscpnet)
  * [ Mastodon ](https://mastodon.social/@winscp)
  *