Topic "Put Command Switches"

Author Message
Blue Flame
[View user's profile]

Joined: 2008-04-16
Posts: 2
I am trying to use the put command to move files from a Windows source folder to a Linux remote folder. I want to delete the Windows files. My syntax is as follows: "put -delete c:\temp\scp\*.txt" (no quotes). However, I receive an error message indicating the file or folder '-delete' does not exist. I have tried put without and switches, and it works fine (except no source files are deleted). I have tried put with other switches shown in the documentation, and I can't get them to work either. Is my syntax incorrect? Do the switches not work? It' critical the the files get moved and not copied as the files in the source folder change, and I cannot perform a mass delete after a copy. Any suggestions would be appreciated. Thanks.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Switch -delete is supported since 4.1 beta only.
_________________
Martin Prikryl
Blue Flame
[View user's profile]

Joined: 2008-04-16
Posts: 2
I tried it with 4.1 beta, and it worked fine. Any schedule for when 4.1 will be general release and out of beta?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Blue Flame wrote:
I tried it with 4.1 beta, and it worked fine. Any schedule for when 4.1 will be general release and out of beta?

Not yet.
_________________
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