Solved

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

Posted on 2000-03-30
6
286 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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 I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

910 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

20 Experts available now in Live!

Get 1:1 Help Now