开发者

How to transfer file from server to server

开发者 https://www.devze.com 2023-02-04 05:41 出处:网络
Can you please provide me some kind of small tutorial about how开发者_StackOverflow to get started with file transfering from one server to another server. Especially how to deal with downloadable lin

Can you please provide me some kind of small tutorial about how开发者_StackOverflow to get started with file transfering from one server to another server. Especially how to deal with downloadable links that do not end up with an extension.

Usually, its fine to deal with links like,

www.mysite.com/myfile.zip

but how to deal with files like

www.mysite.com/?fileid=21

How to tranload links like,

http://www.mysite.com/?fileid=21

regards, aqif


I'm assuming you're running on a Linux server. If so, you can use the wget command.

wget www.mysite.com/?fileid=21


Write a php script that uses wget or rsync to transfer/synchronise any files and schedule it in cron.

0

精彩评论

暂无评论...
验证码 换一张
取 消