Comments (4)
Sorry, there is no in-built API for these. I'll add them shortly, but if you need it right now please use:
if (!(reply = conn.Execute("SITE CHMOD 777 yourfilename.txt")).Success) {
throw new FtpCommandException(reply);
}
from fluentftp.
Thanks to your idea, I have implemented the following new API. Check it out and let me know!
- Chmod()
- GetChmod()
- SetFilePermissions()
- GetFilePermissions()
from fluentftp.
You can now just do:
client.Chmod("\path\to\file.txt", 777)
from fluentftp.
You must download the latest from nuget to use it. https://www.nuget.org/packages/FluentFTP/
from fluentftp.
Related Issues (20)
- FtpException thrown downloading file with 49.0.2 works in 49.0.1 HOT 4
- Problems uploading a file into a ftp server with TLS HOT 7
- AsyncFtpClient - The operation has timed out HOT 29
- PRT and EPRT don't respect the configured proxy HOT 6
- GetObjectInfo fails for file names with spaces HOT 6
- Error on FTP UPDATFILE after sucessfull connect HOT 1
- Override Read(Span), ReadAsync(Memory), Write(ROS), WriteAsync(ROM) in streams HOT 3
- Issue with AS400 change - AfterConnect actions cannot be undone HOT 22
- Should FTP work be done with temp files? HOT 5
- GetListing Chinese garbled characters HOT 3
- Timeouts when downloading certain files HOT 2
- ftp.GetListing(path) HOT 1
- using the GetListing Error HOT 2
- FluentFTP.GnuTLS possible memory leak HOT 12
- UploadDirectory in Mirror mode occasionally deletes destination folder's entire contents HOT 5
- Allways getting Timed Out error while using Azure Funtions to connect an FTPs HOT 2
- Timed out trying to read data from the socket stream HOT 33
- Code: 550 Message: Command STOR failed HOT 3
- Client.DownloadFile() fails with FtpVerify.Retry with a path with spaces HOT 6
- FtpRemoteExists.Overwrite now performs a delete+create rather than in-place overwrite HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluentftp.