id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
WinSCP/viewtopic.php2_4_0.txt | Advertisement
* Author
* Message
* Posted | |
WinSCP/how-to-remove-multiple-files-using-sftp2_51_0.txt | Share
Improve this answer | |
WinSCP/how-to-remove-multiple-files-using-sftp2_14_0.txt | Connect and share knowledge within a single location that is structured and
easy to search.
Learn more about Teams | |
WinSCP/101741023_41_0.txt | View all
| |
WinSCP/sftp-users-cant-remove-files3_12_0.txt | 3. Teams
4. Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams | |
WinSCP/how-to-remove-multiple-files-using-sftp2_22_0.txt | Improve this question
Follow | |
WinSCP/viewtopic.php2_45_0.txt | * Login Dialog – Configuring Session
* Using Commander Interface
* Installing SFTP/SSH Server on Windows using OpenSSH
* Authentication Progress
* Automate file transfers or file synchronization
* Connect to FTP server or SFTP server
* Bookmark Dialog
* Set up SSH public key authentication
* C... | |
WinSCP/how-to-remove-multiple-files-using-sftp2_52_0.txt | Follow
answered Nov 4, 2014 at 18:26 | |
WinSCP/sftp-users-cant-remove-files3_8_0.txt | 2. Questions
3. Tags | |
WinSCP/101741023_10_0.txt | So basically everyday before placing file on SFTP server I have to delete
previous similar files present on target SFTP server.
I would like to avoid creating another configuration scenario for this
requirement. | |
WinSCP/WinSCP_25_1.txt |
[ Login ](/eng/docs/scriptcommand_chmod?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/)
... | |
WinSCP/viewtopic.php2_27_0.txt |
## | |
WinSCP/101741023_22_0.txt | 0 Kudos
Hi Saurabh - | |
WinSCP/viewtopic.php2_37_0.txt | Advertisement
* Reply to topic
* Log in | |
WinSCP/viewtopic.php2_40_0.txt | ## User Approved Software
### Total Downloads: | |
WinSCP/101741023_5_0.txt | Deleting Particular filename from SFTP server
Former Member | |
WinSCP/WinSCP_21_1.txt | … ` | Allows configuring any transfer settings using [ raw format ](/eng/docs/rawtransfersettings) as in an INI file. E.g. to enable preserving of directory timestamps, use ` -rawtransfersettings PreserveTimeDirs=1 ` . The switch should come only after other parameters.
_Advertisement_
Aliases: ` send ` , ` ... | |
WinSCP/WinSCP_19_0.txt | Menu Toggle search [  WinSCP Free
SFTP, SCP, S3 and FTP client for Windows ](https://winscp.net/)
* [ Home ](/eng/index.php)
* [ News ](/eng/news.php)
* [ Introduction ](/eng/docs/introduction)
* [ Download ](/eng/download.... | |
WinSCP/viewtopic.php2_6_0.txt | ## SFTP: Some operations are unnecessarily slow (del/calc dir)
2010-12-19 13:19 | |
WinSCP/sftp-users-cant-remove-files3_27_0.txt | Rob Peskind Rob Peskind
1 1 1 silver badge 1 1 bronze badge | |
WinSCP/sftp-users-cant-remove-files3_23_0.txt |
29:x:1002:1001::/home/26:/bin/sh
44:x:1003:1003::/home/44:/bin/sh
52:x:1004:1004::/home/52:/bin/sh
68:x:1005:1005::/home/29:/bin/sh
My sftp group is: | |
WinSCP/how-to-remove-multiple-files-using-sftp2_67_0.txt | answered Jan 5, 2017 at 17:44
Philip Rego Philip Rego | |
WinSCP/101741023_21_0.txt | * Mark as New
* Bookmark
* Subscribe
* * Subscribe to RSS Feed
* * Print
* * Report Inappropriate Content
03-12-2014 8:51 PM | |
WinSCP/WinSCP_9_0.txt | Menu Toggle search [  WinSCP Free
SFTP, SCP, S3 and FTP client for Windows ](https://winscp.net/)
* [ Home ](/eng/index.php)
* [ News ](/eng/news.php)
* [ Introduction ](/eng/docs/introduction)
* [ Download ](/eng/download.... | |
WinSCP/how-to-remove-multiple-files-using-sftp2_55_0.txt | – bhawna
Nov 5, 2014 at 8:58 | |
WinSCP/how-to-remove-multiple-files-using-sftp2_39_0.txt | Setup - on rmeote server skinner
$ mkdir adir
$ touch afile1 afile2
$ ls
afile1 afile2
| |
WinSCP/sftp-users-cant-remove-files3_21_0.txt |
drwxr-xr-x 2 root www-data 172032 Feb 6 14:19 29
drwxr-xr-x 2 root www-data 135168 Feb 6 14:17 52
drwxr-xr-x 4 root www-data 69632 Feb 6 14:15 44
drwxr-xr-x 2 root www-data 36864 Feb 6 14:14 68
My sftp config from /etc/ssh/sshdconfig is: | |
WinSCP/viewtopic.php2_32_0.txt | martin ◆
Site Admin
Joined: | |
WinSCP/how-to-remove-multiple-files-using-sftp2_61_0.txt | Follow
answered Nov 4, 2014 at 16:54 | |
WinSCP/how-to-remove-multiple-files-using-sftp2_87_0.txt | * Romans 9:5 Is this a scriptural evidence for Pauline Trinitarian Christology
* What is Unity's definition of time?
* What skills do algebra teachers wish their students had mastered before taking algebra?
* origami J-SHAPED t2
* Visually arrange multi-day events on a calendar
* How do different speci... | |
WinSCP/how-to-remove-multiple-files-using-sftp2_94_0.txt | Linux is a registered trademark of Linus Torvalds. UNIX is a registered
trademark of The Open Group.
This site is not affiliated with Linus Torvalds or The Open Group in any way.
| |
WinSCP/101741023_0_0.txt | * SAP Community
* * Products and Technology
* * Technology
* * Technology Q&A
* * Deleting Particular filename from SFTP server
All community This category Q&A Knowledge base Users Managed tags cancel | |
WinSCP/sftp-users-cant-remove-files3_40_0.txt | Follow
edited Feb 7, 2020 at 18:58 | |
WinSCP/WinSCP_17_0.txt | Menu Toggle search [  WinSCP Free
SFTP, SCP, S3 and FTP client for Windows ](https://winscp.net/)
* [ Home ](/eng/index.php)
* [ News ](/eng/news.php)
* [ Introduction ](/eng/docs/introduction)
* [ Download ](/eng/download.... | |
WinSCP/WinSCP_20_1.txt | 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 ](/e... | |
WinSCP/viewtopic.php2_24_0.txt | > Anonymous wrote:
>
> ...OK, but I thought SFTP was newer/more secure than SCP? I only mentioned
> SFTP specifically, cuz I haven't tested how WinSCP "does it" in other
> protocols.
It is, but it just cannot do what you ask for.
SCP can hardly be called a protocol.
| |
WinSCP/101741023_31_0.txt | Otheriwise try rm *.* as well
Thanks | |
WinSCP/101741023_39_0.txt | * ## Person is already being processed by user Service ...
* ## Re: Need example for DATA.APPEND for creating new ... | |
WinSCP/how-to-remove-multiple-files-using-sftp2_19_0.txt | I even tried executing the commands in prompt mode.
sftp $USER@$HOST
rm file1 file2
| |
WinSCP/WinSCP_8_1.txt | (/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: 2020-05-29 by [ martin
](/forum/profile.php?mode=viewprofile&u=2)
[ L... | |
WinSCP/WinSCP_26_2.txt | weronly ` . Back
_Advertisement_
## Contribute

[ Donate ](/eng/donate.php)
* [ $9 ](/eng/donate.php?amount=9¤cy=USD&class=S "Donate $9 via PayPal")
* [ $19 ](/eng/donate.php?amount=19¤cy=USD&class=S "Donate $19 ... | |
WinSCP/how-to-remove-multiple-files-using-sftp2_27_0.txt | Sorted by: Reset to default
Highest score (default) Date modified (newest first) Date created (oldest
first) | |
WinSCP/sftp-users-cant-remove-files3_56_0.txt | Cron job with shell script to repair SFTP directory and file ownership
2 | |
WinSCP/how-to-remove-multiple-files-using-sftp2_12_0.txt | 3. Teams
4. Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams | |
WinSCP/WinSCP_5_0.txt | Menu Toggle search [  WinSCP Free
SFTP, SCP, S3 and FTP client for Windows ](https://winscp.net/)
* [ Home ](/eng/index.php)
* [ News ](/eng/news.php)
* [ Introduction ](/eng/docs/introduction)
* [ Download ](/eng/download.... | |
WinSCP/how-to-remove-multiple-files-using-sftp2_58_0.txt | Add a comment |
1 | |
WinSCP/WinSCP_8_0.txt | Menu Toggle search [  WinSCP Free
SFTP, SCP, S3 and FTP client for Windows ](https://winscp.net/)
* [ Home ](/eng/index.php)
* [ News ](/eng/news.php)
* [ Introduction ](/eng/docs/introduction)
* [ Download ](/eng/download.... | |
WinSCP/sftp-users-cant-remove-files3_14_0.txt | Connect and share knowledge within a single location that is structured and
easy to search.
Learn more about Teams | |
WinSCP/how-to-remove-multiple-files-using-sftp2_62_0.txt | user90256 user90256
67 6 6 bronze badges | |
WinSCP/101741023_20_0.txt | former_member18 4720
Active Contributor | |
WinSCP/sftp-users-cant-remove-files3_46_0.txt | Add a comment |
## You must log in to answer this question. | |
WinSCP/101741023_18_0.txt | Answer
#### Accepted Solutions (0) | |
WinSCP/101741023_23_0.txt | What kind of script you are looking for? Java? Perl? and i think y ou need
custom libraries to work with SFTP.
Instead of executing the script from OS level, i would prefer a pass through
interface which will pick the files from SFTP and place it somewhere else(
archive directory )... You can even schedule this chan... | |
WinSCP/sftp-users-cant-remove-files3_1_0.txt | Stack Exchange network consists of 183 Q&A communities including Stack
Overflow , the largest, most trusted online community for developers to
learn, share their knowledge, and build their careers.
Visit Stack Exchange | |
WinSCP/sftp-users-cant-remove-files3_0_0.txt | Skip to main content
#### Stack Exchange Network | |
WinSCP/sftp-users-cant-remove-files3_28_0.txt | 1
* 2 | |
WinSCP/WinSCP_10_1.txt | o 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: 2020-05-29 by [ martin
](/forum/profile.p... | |
WinSCP/sftp-users-cant-remove-files3_31_0.txt | ## 1 Answer 1
Sorted by: Reset to default | |
WinSCP/how-to-remove-multiple-files-using-sftp2_32_0.txt | edited Nov 4, 2014 at 17:13
answered Nov 4, 2014 at 16:56 | |
WinSCP/WinSCP_9_2.txt | Alternatively, you can use `
[ SessionOptions.ParseUrl ](/eng/docs/library_sessionoptions_parseurl) `
method.
There is no direct mapping for opening stored site using ` site ` parameter,
because .NET assembly [ does not share configuration
](/eng/docs/library_from_script#default_config) with graphical/scripting mode.
... | |
WinSCP/101741023_4_0.txt | * Subscribe to RSS Feed
* * Mark Question as New
* Mark Question as Read
* * Bookmark
* Subscribe
* * Printer Friendly Page
* Report Inappropriate Content
## | |
WinSCP/viewtopic.php2_42_0.txt | 4.8 out of 195 reviews
SourceForge Review | |
WinSCP/how-to-remove-multiple-files-using-sftp2_29_0.txt |
#!/bin/bash
# set variables
USER="username"
HOST="hostname"
file_list="file1 file1 file3 file4"
# delete each file
for file in $file_list; do
echo "rm $file" | sftp $USER@$HOST
done
exit 0
This one-liner is far better! file1-9 being file names to remove, use ... | |
WinSCP/how-to-remove-multiple-files-using-sftp2_28_0.txt | 8
Here is one possible solution that can be added to bash script. This is not
ideal as it will make a new connection for each file. | |
WinSCP/WinSCP_24_1.txt | [ 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 ](/... | |
WinSCP/sftp-users-cant-remove-files3_29_0.txt | Your usernames are not valid (cf. this question ), so many programs will
break in many unexpected ways. Change the owner of the home directories after
you fixed the usernames.
– Piotr P. Karwasz | |
WinSCP/sftp-users-cant-remove-files3_44_0.txt | Feb 7, 2020 at 15:12
* Yes, users would do that, since they don't understand neither Windows nor Unix permissions. However, as long as it is their responsibility, the OP would not be to blame. | |
WinSCP/sftp-users-cant-remove-files3_34_0.txt | > ChrootDirectory Specifies the pathname of a directory to chroot(2) to after
> authentication. All components of the pathname must be root-owned
> directories that are not writable by any other user or group. After the
> chroot, sshd(8) changes the working directory to the user's home directory.
* On the other... | |
WinSCP/WinSCP_1_1.txt | nsky ](/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_clie... | |
WinSCP/WinSCP_20_0.txt | Menu Toggle search [  WinSCP Free
SFTP, SCP, S3 and FTP client for Windows ](https://winscp.net/)
* [ Home ](/eng/index.php)
* [ News ](/eng/news.php)
* [ Introduction ](/eng/docs/introduction)
* [ Download ](/eng/download.... | |
WinSCP/sftp-users-cant-remove-files3_26_0.txt | Follow
asked Feb 6, 2020 at 14:25 | |
WinSCP/how-to-remove-multiple-files-using-sftp2_2_0.txt | Loading…
1. * Tour Start here for a quick overview of the site
* Help Center Detailed answers to any questions you might have
* Meta Discuss the workings and policies of this site
* About Us Learn more about Stack Overflow the company, and our products | |
WinSCP/how-to-remove-multiple-files-using-sftp2_20_0.txt | However, I still see that only file1 is getting deleted.
I am not sure if I am missing any basic command. I tried ` mdelete ` / ` mdel
` / ` mrm ` , which were rejected as Invalid command in sftp prompt window. | |
WinSCP/WinSCP_23_1.txt | /)
* [ 日本語 ](/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... | |
WinSCP/sftp-users-cant-remove-files3_45_0.txt | – Piotr P. Karwasz
Feb 7, 2020 at 19:38 | |
WinSCP/viewtopic.php2_51_0.txt | * WinSCP License
* WinSCP Privacy Policy
| |
WinSCP/sftp-users-cant-remove-files3_15_0.txt | # SFTP users can't remove files
Ask Question | |
WinSCP/viewtopic.php2_29_0.txt | > \---------------------------
> Error
> \---------------------------
> Cannot change properties of file 'wt_ts'.
> \---------------------------
> Command 'chmod -R "wt_ts"'
> failed with return code 1 and error message
> chmod: missing operand after `wt_ts'
> Try `chmod --help' for more informa... | |
WinSCP/WinSCP_13_1.txt | d_chmod) ` , ` [ ls ](/eng/docs/scriptcommand_ls) ` ,
` [ lls ](/eng/docs/scriptcommand_lls) ` , ` [ ls
](/eng/docs/scriptcommand_ls) ` , ` [ synchronize
](/eng/docs/scriptcommand_synchronize) `
Note that the option does not affect ` -filemask ` switch of ` get ` and ` put
` commands.
Default: ` off `
_Adverti... | |
WinSCP/WinSCP_22_1.txt | tp_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)
* [... | |
WinSCP/how-to-remove-multiple-files-using-sftp2_59_0.txt | You cannot give a list to the ` rm ` command in ` sftp ` , only takes one path
as is written in the man page:
rm path
Delete remote file specified by path.
| |
WinSCP/WinSCP_2_0.txt | Menu Toggle search [  WinSCP Free
SFTP, SCP, S3 and FTP client for Windows ](https://winscp.net/)
* [ Home ](/eng/index.php)
* [ News ](/eng/news.php)
* [ Introduction ](/eng/docs/introduction)
* [ Download ](/eng/download.... | |
WinSCP/how-to-remove-multiple-files-using-sftp2_86_0.txt | Loop over multiple subdirectories and download new files using SFTP
#### Hot Network Questions | |
WinSCP/WinSCP_13_2.txt | /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... | |
WinSCP/how-to-remove-multiple-files-using-sftp2_31_0.txt | Improve this answer
Follow | |
WinSCP/WinSCP_21_2.txt | 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... | |
WinSCP/how-to-remove-multiple-files-using-sftp2_34_0.txt | 2
* What if the files have white spaces in their name? Will this solution work? | |
WinSCP/how-to-remove-multiple-files-using-sftp2_92_0.txt | ##### Stack Exchange Network
* Technology
* Culture & recreation
* Life & arts
* Science
* Professional
* Business
* API
* Data | |
WinSCP/WinSCP_18_0.txt | Menu Toggle search [  WinSCP Free
SFTP, SCP, S3 and FTP client for Windows ](https://winscp.net/)
* [ Home ](/eng/index.php)
* [ News ](/eng/news.php)
* [ Introduction ](/eng/docs/introduction)
* [ Download ](/eng/download.... | |
WinSCP/viewtopic.php2_2_0.txt | Close
Forum » Feature Requests » | |
WinSCP/sftp-users-cant-remove-files3_33_0.txt | Apart the user naming problem , which should be corrected, but probably has
no influence on your use case, your configuration must satisfy two
incompatible contraints:
* As specified by the sshd_config manpage : | |
WinSCP/WinSCP_3_1.txt | tellano) ](/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 ](/... | |
WinSCP/viewtopic.php2_8_0.txt | ...but could take awhile, since WinSCP enumerates & then deletes all
files/dirs 1-at-a-time. We don't know the protocol limitations...could you
specify how this is handled in different protocols?...& look for faster
methods in each?
Ditto for Right-click -> Properties -> Calculate...it enumerates all files,
adding... | |
WinSCP/how-to-remove-multiple-files-using-sftp2_77_0.txt | 0
xargs command is running on local machine but results in an "invalid command"
error when run on remote host | |
WinSCP/WinSCP_4_0.txt | Menu Toggle search [  WinSCP Free
SFTP, SCP, S3 and FTP client for Windows ](https://winscp.net/)
* [ Home ](/eng/index.php)
* [ News ](/eng/news.php)
* [ Introduction ](/eng/docs/introduction)
* [ Download ](/eng/download.... | |
WinSCP/WinSCP_12_0.txt | Menu Toggle search [  WinSCP Free
SFTP, SCP, S3 and FTP client for Windows ](https://winscp.net/)
* [ Home ](/eng/index.php)
* [ News ](/eng/news.php)
* [ Introduction ](/eng/docs/introduction)
* [ Download ](/eng/download.... | |
WinSCP/how-to-remove-multiple-files-using-sftp2_85_0.txt | SFTP from local desktop to Solaris 11 using client tools is failing
1 | |
WinSCP/WinSCP_0_0.txt | Menu Toggle search [  WinSCP Free
SFTP, SCP, S3 and FTP client for Windows ](https://winscp.net/)
* [ Home ](/eng/index.php)
* [ News ](/eng/news.php)
* [ Introduction ](/eng/docs/introduction)
* [ Download ](/eng/download.... | |
WinSCP/sftp-users-cant-remove-files3_64_0.txt | * Blog
* Facebook
* Twitter
* LinkedIn
* Instagram
Site design / logo © 2024 Stack Exchange Inc; user contributions licensed
under CC BY-SA . rev 2024.4.30.8466 | |
WinSCP/viewtopic.php2_15_0.txt | You can use SCP instead:
https://winscp.net/eng/docs/protocols
Or use custom commands for expensive operations:
https://winscp.net/eng/docs/custom_command
Reply with quote |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.