trying to import csv file into database, need path? my site asks for path. what do i put there? Products Save Cancel * File: * Path: * File type: * Weight: * Currency: * Last category as main category: e.g. in category path Pets/Dogs/Toy Bones, parser will get Toy Bones and add it as main category.
i need this too i think we should search in net But i cant find any useful result so if anybody can help then thanks in advanced.i hope we will get some one as soon as possiable
i have seached the web and the only thing i found is this and i have not tried it yet. Path is a relative to script's root path and is not required. In example if you've installed your open cart script into /home/site/public_html/ then if you upload data.csv file there via FTP or CPanel you can just write data.csv into this field. This is used in case you use large CSV files and server cannot handle large file uploads.
Dude, a path is where the file can be found... You can upload csv files via phpMyAdmin if I remember well.
You can't beat the efficiency and speed of 'load data infile' . Just connect to database via mysql client and execute LOAD DATA INFILE '<YOUR-FILE>' INTO TABLE test FIELDS TERMINATED BY ',' ; <YOUR-FILE>=wherever you downloaded it locally, i.e. c:/mydata/mydatafile.csv