Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sending file from OSC to POS


cucomex

Recommended Posts

Posted

Hi all,

 

I am trying to integrate OSC to my POS Software and I have some questions.

 

I have a PHP file that looks for orders, grabs them and makes an XML file in a Yahoo Store order format (that is the format that my POS software reads) and puts the XML order files in a directory of the webserver where my OSC store resides.

 

I will use a cron job to do this every hour of the working day from 10 am to 8 pm.

 

QUESTION 1:

How do I transfer the file from my webserver to my store computer?

I know that I could use cURL if both were web servers, but my store computer is not a sever is just a client using a paid ISP to connect to the net. My computer uses Windows 2000.

 

Then I need to do the reverse. I want to get the changing stock numbers, new products and price changes from my POS software database and send them to my OSC store. I will use XML as well to format the data.

 

QUESTION 2:

How do I transfer the file from my computer to the webserver?

 

I guess the answer to one question will work for both (I am hoping)...

I am thinking that using FTP will work but I don?t have a static IP address in my store computer to automate the process...

 

Thanks in advance for your help...

Posted

You could use FTP to connect from the store computer. Upload what you need to upload, and download what you need to download.

 

-jared

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...