Skip to main content
Inspiring
May 17, 2017
Answered

How can I access FTP files.

  • May 17, 2017
  • 2 replies
  • 1047 views

I am trying to upload spreadsheets from the wholesaler's FTP to my e-commerce site. Should I add the wholesaler's FTP with my login info as a server in dreamweaver? Can I access these files? How do I access the directory? Thanks

This topic has been closed for replies.
Correct answer michaelverges

So I would need to refer to the link, login somehow, and then parse the information?


By following these documentations, I have succeeded in downloading the stock info through php.

PHP: ftp_login - Manual

PHP: ftp_get - Manual

PHP: fgetcsv - Manual 

Thank you everyone for your help!

2 replies

tmyusuf74
Inspiring
May 17, 2017

Hi Michaelverges, I love help to people anyhow. This is work. However I have a great link which is help you and you can understandly access FTP files very shortly. https://goo.gl/FyI6Ow

Rob Hecker2
Legend
May 17, 2017

FTP is a protocol used for moving files, usually from one server to another or from your development computer to the remote web server.

HTTP is the protocol used by web browsers when accessing files on your web server. You can, for instance, use FTP to move files to your web server then provide a webpage with a download function for visitors to download the files.

We don't know enough about the scenario you have described to quite know what's going on, but here is my guess:

The wholesaler has Excel files on their website which you want to make available to your website visitors. You can either link directly to the files on the wholesaler's website or you can download the files, then FTP them to your site and provide a HTTP download process for them there.

If that isn't what you are trying to do, just provide more information.

Inspiring
May 17, 2017

Almost, Rob. I plan on parsing the spreadsheet to load stock information. The files on their server is updated hourly. I have a login to the FTP for their spreadsheet, but how do I reference their spreadsheet in dreamweaver?

Thanks

Rob Hecker2
Legend
May 17, 2017

how do I reference their spreadsheet in dreamweaver?

Simple link using the a tag, but that will just allow you to provide it for download. But if you are going to add stock information to the Excel file, then it would be more complicated to automate the process.