Topic "Subdirectories uploading problem"

Author Message
[View user's profile]

Joined: 2015-07-05
Posts: 1
Location: São Paulo / Brasil
Hi everybody
I´m trying to upload files from a directory that have subdirectories.

The code used is:

transferResult = mySession.PutFiles("c:\mydirectory\*.*", "/home/user/", False, myTransferOptions)

I don´t want to upload subdirectories under c:\mydirectory. Only files encountered.

Any help ?
Sorry my bad english
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Please read FAQ:

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License