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
Debian removes FPC/Lazaru...
by
Thaddy
[
Today
at 08:43:41 am]
Free Pascal for a small e...
by
cdbc
[
Today
at 07:06:42 am]
Transparent Form: Some Th...
by
Xenno
[
Today
at 04:50:53 am]
FPC and Lazarus coding st...
by
Wallaby
[
Today
at 04:39:45 am]
FPC error when using O3
by
Seenkao
[
Today
at 04:21:14 am]
FPCUnit returns 2 error l...
by
n7800
[
Today
at 02:43:55 am]
Help with diabetes projec...
by
Boleeman
[
Today
at 02:30:50 am]
it2play - IT/S3M module r...
by
hukka
[
Today
at 02:24:02 am]
Defaults for features
by
Martin_fr
[
Today
at 02:07:48 am]
Status of FPC 3.4.0 or FP...
by
creaothceann
[
Today
at 12:50:08 am]
TLazSerial : serial port ...
by
CM630
[February 06, 2026, 11:02:03 pm]
function intersect in laz...
by
wp
[February 06, 2026, 08:30:39 pm]
LCL Web Native with D2Bri...
by
xinyiman
[February 06, 2026, 04:52:10 pm]
Log in to web Data with U...
by
rvk
[February 06, 2026, 03:23:29 pm]
Notetask 1.1.0 - Free cro...
by
AlexanderT
[February 06, 2026, 02:33:56 pm]
Rolling releases Lazarus[...
by
marcov
[February 06, 2026, 02:07:36 pm]
lazarus IDE anchordock ba...
by
szlbz
[February 06, 2026, 12:53:12 pm]
Upload multipart POST req...
by
OH1KH
[February 06, 2026, 11:53:17 am]
Ininside ProjectSession, ...
by
d2010
[February 06, 2026, 10:34:50 am]
Recommendations for wasm3...
by
temp0
[February 06, 2026, 03:47:38 am]
Lazarus for Windows on aa...
by
msintle
[February 06, 2026, 01:02:01 am]
ListBox MeasureItem
by
jamie
[February 05, 2026, 11:02:02 pm]
Feature announcement: Fun...
by
PascalDragon
[February 05, 2026, 09:29:34 pm]
Improved FPC JSON-RPC sup...
by
PascalDragon
[February 05, 2026, 09:15:07 pm]
C-specific record functio...
by
440bx
[February 05, 2026, 08:38:23 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Lnet Chmod via TLFTPClientComponent (Read 5283 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