Put Command Switches

Advertisement

Blue Flame
Joined:
Posts:
2

Put Command Switches

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,542
Location:
Prague, Czechia

Re: Put Command Switches

Switch -delete is supported since 4.1 beta only.
_________________
Martin Prikryl

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,542
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

Reply with quote

Advertisement

You can post new topics in this forum