?
Solved

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

Posted on 2000-03-30
6
Medium Priority
?
298 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
ID: 2673180
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
ID: 2673476
can you tell me the exact command in delphi
to issue the "chmod o + r file1" ????
0
 
LVL 4

Expert Comment

by:Radler
ID: 2673588
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:waipahu
ID: 2673758
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 300 total points
ID: 2674545
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
ID: 2675889
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Integration Management Part 2
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses
Course of the Month14 days, 10 hours left to enroll

840 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