Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: script to access private folder

by QuillMeantTen (Friar)
on Jan 21, 2016 at 09:40 UTC ( [id://1153259]=note: print w/replies, xml ) Need Help??


in reply to script to access private folder

Update: spelling
Greetings
First if you need directions you are going to have to give us more informations:
When you say log in, what kind of login do you mean,

  • Login with ssh?
  • Login on a web service?
Those are the two kinds I can think of in your case, the approach will vary wildly depending on the kind of login.
In the ssh case it could be as simple as displaying in the terminal a list of files and one time download links or just copy the selected files in the user's home folder...
If you want a web service then you are going to need to set up a server that will give content to users, a database for the login to take place.
If the files in question should not be modified by the users , catalyst as a plugin, Static::Simple iirc that can be used just for that. Type the url, the file name and voila it will start downloading
A precise answer to a vague question requires mind reading, I have not upgraded my brain to that stage yet ;)

Replies are listed 'Best First'.
Re^2: script to access private folder
by Anonymous Monk on Jan 22, 2016 at 09:49 UTC

    Thanks for your reply. Sorry to hear that your brain is not properly equipped for my needs! (Actually, thanks for taking the time to answer my poorly phrased question in a sensible fashion!).

    I replied to jonadab as he rather hit the nail on the head regarding public accessibility of the files. I'd be grateful if you would take a look and let me know what you think about my idea as a workaround, and perhaps see if there is a better way of doing it?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1153259]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (7)
As of 2024-04-23 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found