sjones Posted January 17, 2008 Share Posted January 17, 2008 Hello, I am working on a site for a small town newspaper. They have about 5 people that will FTP articles in .pdf format. Each article is between 500K and 2mg – approximately 30 pages, so 60mg max. I setup a user named “news” on the server, so everyone can access the same directory. I setup the FTP site “news” and the current issue is to be put in a folder called “current_issue”. However, I can not CHMOD this directory. (it is restricted) - with it being restricted I can’t call the .pdf file into the page with an include statement. I talked with tech support this morning and they said I could setup a “symbolic link” on the UNIX server to the "news/current_issue" directory and I’m not quite sure how that will work. The purpose of the FTP site was to allow them to just upload the current issue and always name the page "current_1.pdf", "current_2.pdf" and so on.... (for page one and two) and then the php script would look for current_1.pdf or whatever in the "news" FTP directory . Has anyone come across this or does anyone have any suggestions as to the path they would take. Quote Link to comment https://forums.phpfreaks.com/topic/86520-ftp-and-accessing-files/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.