Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP CLIENT UNIX USER RIGHTS

Status
Not open for further replies.

wimvanherp

Programmer
Mar 3, 2001
149
BE
I have an application with a ftp-client that connects to a unix-ftp server and uploads files to it. I'm asked now to set the unix-user rights for all this files to -rw-rw-r--
so all rights to the owner and the group of owners and only read rights to the rest of the universum. The file I upload now via this component has the rights -rw-r--r--
Does somebody know how to change this rigths for unix-upload in my ftp client ? Wim Vanherp
Wim.Vanherp@myself.com
 
That depends on your client:
if you use WS-FTP, there is a box where you can enter the initial permissions.

hnd
hasso55@yahoo.com

 
I use the ftp-client component from within c++Builder, I want to do it from within a program Wim Vanherp
Wim.Vanherp@myself.com
 
I would use the "DoCommand"-Method of that client to excute the Command umask xxx on the remote Host. But you must have the Permissions to execute commands there.

hnd
hasso55@yahoo.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top