Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Networking and Web Programming
»
Lnet Chmod via TLFTPClientComponent
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Problem with drawing orde...
by
wp
[
Today
at 12:57:00 am]
could Ardour's YTK be use...
by
robert rozee
[
Today
at 12:13:08 am]
GTK3 : Icons have borders...
by
zeljko
[March 14, 2026, 10:43:51 pm]
Initialization & finaliza...
by
Martin_fr
[March 14, 2026, 10:22:21 pm]
Getting results from sql ...
by
CraigC
[March 14, 2026, 08:15:54 pm]
Hello! Anything new?
by
440bx
[March 14, 2026, 07:51:50 pm]
CryptoLib4Pascal
by
Xor-el
[March 14, 2026, 06:17:32 pm]
Extended Module Player
by
Gigatron
[March 14, 2026, 05:32:06 pm]
CONCAT formula
by
wp
[March 14, 2026, 05:27:43 pm]
[AGGPas] Difference betwe...
by
Roland57
[March 14, 2026, 04:36:02 pm]
Questions about TFuncSeri...
by
wp
[March 14, 2026, 03:05:31 pm]
declaring Array
by
Thaddy
[March 14, 2026, 01:24:11 pm]
TChart: Wrong default val...
by
wp
[March 14, 2026, 11:30:54 am]
Text Fill (Memo)
by
paweld
[March 14, 2026, 09:09:13 am]
Qt6/Wayland clipboard: pa...
by
AlexTP
[March 14, 2026, 08:56:58 am]
Pocketbase
by
PierceNg
[March 14, 2026, 06:29:04 am]
ADUG Symposium 2026
by
Mathias Burbach
[March 14, 2026, 04:45:57 am]
Any way to "embed" Window...
by
jamie
[March 14, 2026, 12:55:37 am]
DataPort StopBits and Flo...
by
Thaddy
[March 13, 2026, 02:14:16 pm]
Lazarus Bugfix Release 4....
by
JuhaManninen
[March 13, 2026, 10:05:03 am]
88 year D. Knuth changes ...
by
Thaddy
[March 13, 2026, 07:31:38 am]
interface and GUID someth...
by
egsuh
[March 13, 2026, 03:31:00 am]
CADSys4 3D.
by
maurog
[March 13, 2026, 01:00:05 am]
UOS - pre-compiled librar...
by
Fred vS
[March 13, 2026, 12:34:06 am]
Pipewire API
by
Fred vS
[March 12, 2026, 10:11:02 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Lnet Chmod via TLFTPClientComponent (Read 5298 times)
minusk
Newbie
Posts: 2
Lnet Chmod via TLFTPClientComponent
«
on:
June 01, 2010, 05:32:22 pm »
Hello
I work with lnet, but I do not see how to change the chmod in ftp a file, if anyone could help me.
Thank you in advance
Logged
minusk
Newbie
Posts: 2
Re: Lnet Chmod via TLFTPClientComponent
«
Reply #1 on:
June 02, 2010, 04:55:43 am »
Hello
I just found the solution I give in case it will help other people.
Quote
FTP.SendMessage('SITE CHMOD 755 ' + LabelNameExe.Caption + #13#10);
Good day
Logged
Almindor
Sr. Member
Posts: 412
Re: Lnet Chmod via TLFTPClientComponent
«
Reply #2 on:
June 03, 2010, 02:42:10 pm »
CHmod wasn't aadded to the FTP commands list yet so yes, the easiest way to do it is to send the commandstring directly. I'll expand the commands for CHMOD and others file operations in 0.7.x
You can temporarily also do it by modifying TLFTPClient.EvaluateAnswer + adding the required enum and procedure for issueing the command. Then lNet will take care of the reply as well and hold the status in the state machine.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Networking and Web Programming
»
Lnet Chmod via TLFTPClientComponent
TinyPortal
© 2005-2018