Solved

TSimpleFTP component for Delphi 2.x/3.x/4.x

Posted on 2000-03-30
6
284 Views
Last Modified: 2010-04-04
Anyone use SimpleFTP?
I have a quesion regarding the rights to a file after you
ftp the file to a unix server.
Currently, after I FTP the file to the UNIX server, I am
the only person who can modify the file. How
do you make the file accesible to everybody?

Thanks

0
Comment
Question by:waipahu
  • 3
  • 3
6 Comments
 
LVL 4

Expert Comment

by:Radler
Comment Utility
Hi waipahu,

The best Delphi component to IP layer to me is found at
http://www.rtfm.be/fpiette/indexuk.htm
About the unix rights use this command to put the correct rigths
chmod o+r file1
where file1 is your directory and all files

T++, Radler.
0
 

Author Comment

by:waipahu
Comment Utility
can you tell me the exact command in delphi
to issue the "chmod o + r file1" ????
0
 
LVL 4

Expert Comment

by:Radler
Comment Utility
This is the command line to be used at the unix machine,  more spefically at the location to put the uploaded files.
Delphi can't make changes at security rights to these files( inside a unix machine ), you should make it manually.

T++, Radler.
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:waipahu
Comment Utility
Shucks.....I know how to do it manually.
I need the file to be ftp so that everybody
can modify the file.
Anybody know anything about setting
up access rights for a file when you ftp?
0
 
LVL 4

Accepted Solution

by:
Radler earned 100 total points
Comment Utility
waipahu, if I understood correctly you wants upload a file and permit that everyone write over, rename, read, etc.
Really the command to this is:
>chmod o+w incoming<
Where incoming is your "incoming" directory.
My previous mistake was imagine the default situation, where the upload directory has this user rigths.

If I'm wrong yet, really I misunderstood you.

T++, Radler.
0
 

Author Comment

by:waipahu
Comment Utility
Thanks
I was talking to another co-worker and I think
you can't set access rights to a file on the
delphi side.  The access rights follow the user
doing the ftp.

thanks
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now