开发者

How to transfer file from server to server

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜