Solved

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

Posted on 2000-03-30
6
288 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
ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

 

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sending Gmail through Delphi 3 106
Convert a string into a TDateTime 5 60
Firemonkey webbrowser scrollbars ? 1 38
can i put an image from resource into image tag ? 6 25
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…
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 hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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.

770 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