Uploading files

Discuss server installationa nd configuration issues here

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 1
Joined: Mon Apr 23, 2012 7:51 am

Uploading files

Postby MacPiu » Mon Apr 23, 2012 8:00 am

Hi all.

I have a website installed in a Unix environment.
Right now I need to move an user uploaded file into a windows machine, where another application is going to pick it up, and do something with this file.

I'm not beeing able to move the file to the Windows server.
I'm using the php native function "move_uploaded_file".
Is there something I need to install on each of the machines?

Can anyone help?

Please let me know if You need any other information.
thanks in advance.

User avatar
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: Uploading files

Postby egami » Mon Apr 23, 2012 10:22 am

move_uploaded_file is a local filesystem function.
If you can map the Windows server to the UNIX filesystem, then you would be able to copy it over there. That's a big "To Do" so you'll have to learn a little bit about smb (man smb) in your UNIX environment to figure out how to map a drive.

Some other things you'll need..

Best bet is to google "Windows Network Drive Mapping in UNIX"

Return to “Server installation and configuration”

Who is online

Users browsing this forum: No registered users and 1 guest