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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Management 1

Status
Not open for further replies.

gbaughma

IS-IT--Management
Staff member
Nov 21, 2003
4,772
US
This is probably a simple one....

I am writing a file management application. I want users to be able to upload files to the system, however, the users don't have write permissions to the target directory in which the file will ultimately be placed.

So, I need a user to be able to click on a file to upload (using common dialogue), then through VBA rename and send that file along to a server that only the application has permissions to write to.

Thoughts or suggestions?


Just my 2¢

"What the captain doesn't realize is that we've secretly replaced his Dilithium Crystals with new Folger's Crystals."

--Greg
 
Unless I misunderstand the question, the application doesn't actually have rights - the user or process running the application has the rights.

Greg
People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard
 
  • Thread starter
  • Moderator
  • #3
True.

Except in this case, there's a database backend, and a front-end.

The idea is to have the filemanager process have the rights to create/retrieve files; the user wouldn't directly have those rights.

So I need to figure out how to have the application get the file, then write the file out to the folder/filename that I specify (that the process would have the rights to).



Just my 2¢

"What the captain doesn't realize is that we've secretly replaced his Dilithium Crystals with new Folger's Crystals."

--Greg
 
Perhaps FTP is a solution? I can not think of any other way to instatiniate a user and assume permissions for a normal copy process. There may be some other tools, such as RoboCopy, which may offer such features. Good Luck...

Steve Medvid
"IT Consultant & Web Master"

Chester County, PA Residents
Please Show Your Support...
 
  • Thread starter
  • Moderator
  • #5
That's a possibility... FTP the files up to the server.... let me think on that. Have a *. :)



Just my 2¢

"What the captain doesn't realize is that we've secretly replaced his Dilithium Crystals with new Folger's Crystals."

--Greg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top