/    Sign up×
Community /Pin to ProfileBookmark

Fetch files from remote computer on network

Hi, I was wondering if its possible to fetch files from remote computers on the network in PHP.

There are some excel files I need to analyze using COM (got this part working ok using local files) but I need a way to fetch the files off the remote machine, then I guess store them locally (they will be hosted in IIS in the remote machine), so I can get to them using a URL [url]http://networkComp/docs/mydoc.something[/url] for example.

So i was just wondering does anyone have any tutorials for kind of thing? I googled round to no success ?

Thanks

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@bokehMar 14.2006 — If both machines are running windows and are on the same LAN you can use a windows network path to work on the files.
Copy linkTweet thisAlerts:
@idnauthorMar 21.2006 — We both are running windows and are on the same LAN, but I cant seem to access the log, I get the error

failed to open stream: No such file or directory

I have mapped the server to drive X: and the location is correct, I just copy and paste the address in PHP into explorer locaiton bar (removing the extra ) and it opens the file

Is this a security thing because I am trying to access the logs from a remote machine?
Copy linkTweet thisAlerts:
@bokehMar 21.2006 — Is this a security thing because I am trying to access the logs from a remote machine?[/QUOTE]I don't know. I have never run IIS so I don't know about security on that platform. On windows XP it would work but I have never seen a remote path with a drive letter. Normally they look like this:[CODE]\myServerwww[/CODE]That is a real path on my LAN.
×

Success!

Help @idn spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.7,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...