Topic "Subdirectories uploading problem"

Author Message
mnegrisoli
[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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please read FAQ:
https://winscp.net/eng/docs/faq_script_non_recursive
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