Author Topic: ftp upload & download  (Read 5059 times)

sparkythex

  • Newbie
  • *
  • Posts: 43
ftp upload & download
« on: January 14, 2011, 04:38:31 PM »
Is there a way to build a control or use ftp for upload & download?
perhaps with the web server or some other way?
I would love to have ftp as part of my app.!
« Last Edit: January 01, 1970, 12:00:00 AM by Guest »

Malkom

  • Administrator
  • Newbie
  • *****
  • Posts: 417
  • Here to help you
Re: ftp upload & download
« Reply #1 on: January 18, 2011, 10:17:59 AM »
Quote from: "sparkythex"
Is there a way to build a control or use ftp for upload & download?
perhaps with the web server or some other way?
I would love to have ftp as part of my app.!

Unfortunately HyperNext doesn't yet support the ftp protocol.

I guess you could use its HTTP functions to send some data to a website but you would need some handler on the website.
There must be something there for this as many web hosts now uses http via web browser to let users upload/download data.

Sorry for the ftp omission :(
« Last Edit: January 01, 1970, 12:00:00 AM by Guest »
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

sparkythex

  • Newbie
  • *
  • Posts: 43
Re: ftp upload & download
« Reply #2 on: January 19, 2011, 07:35:28 AM »
Quote from: "Malkom"
Quote from: "sparkythex"
Is there a way to build a control or use ftp

Unfortunately HyperNext doesn't yet support the ftp protocol.

I guess you could use its HTTP functions to send some data to a website but you would need some handler on the website.
There must be something there for this as many web hosts now uses http via web browser to let users upload/download data.

Sorry for the ftp omission :(

I thought it DIDN'T parse a webpages?
Wouldn't it need to read or write something for html?
because each site does it differently.
I'm guessing this must be very hard as there is no example.
« Last Edit: January 01, 1970, 12:00:00 AM by Guest »

Malkom

  • Administrator
  • Newbie
  • *****
  • Posts: 417
  • Here to help you
Re: ftp upload & download
« Reply #3 on: January 20, 2011, 11:18:22 AM »
Quote from: "sparkythex"
I thought it DIDN'T parse a webpages?
Wouldn't it need to read or write something for html?
because each site does it differently.
I'm guessing this must be very hard as there is no example.

It can download a web page to a file but it doesn't parse the resulting file - parsing requires you to write some code :(

There is a web alarm project on our Projects webpage that shows how to download the web page and check the result in it.


To send data to a website you need to send a command such as

http://www.example.com/upload.php?data=yourdata

but the "yourdata" would need converting to safe(non binary) format and your processor on the website would convert it back to normal data before placing it in the file on the website folder.
Its not a trivial task and shows why HyperNext does need some ftp commands.
« Last Edit: January 01, 1970, 12:00:00 AM by Guest »
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

 

anything