Solved

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

Posted on 2000-03-30
6
291 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: 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 100 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

733 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