문제

We have a server running PHP (windows). We've run out of HD space with our ISP and set up an account on another server (Linux) for file storage.

What is the best method for running the script in one environment, but getting/putting files to another.

If you have any examples I'd appreciate any pointers. Not sure is we should just look into an (s)ftp connection or a better method.

The files on the linux box will NOT be web accessible (above the http)

Thanks, D

도움이 되었습니까?

해결책

Assuming both servers are on the same LAN, install Samba on the Linux server and map a Windows drive to it.

I did this for a Windows app that needed a terabyte of fault-tolerant storage for audio files.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top