Recent

Author Topic: Need some simple FTP tools  (Read 6219 times)

cybersmyth

  • Jr. Member
  • **
  • Posts: 51
Need some simple FTP tools
« on: January 12, 2011, 10:31:52 pm »
Hey guys,

I'm looking to do some real basic FTP stuff. I want my application to download something from a ftp site, do a little work with it and the upload the result.  I already have the basic engine put together all working within a local directory. So my idea is basically to download the information into that local directory, run the application pretty much as it already stands and then upload the result.

Can someone point me in the general direction for learning how to do this?

Thanks,
-Joe
« Last Edit: January 12, 2011, 11:32:29 pm by cybersmyth »

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1927
Re: Need some simple FTP tools
« Reply #1 on: January 12, 2011, 11:52:20 pm »
function FtpGetFile(const IP, Port, FileName, LocalFile, User, Pass: string): Boolean;
function FtpPutFile(const IP, Port, FileName, LocalFile, User, Pass: string): Boolean;

See:
http://synapse.ararat.cz/doc/help/ftpsend.html
http://synapse.ararat.cz/

cybersmyth

  • Jr. Member
  • **
  • Posts: 51
Re: Need some simple FTP tools
« Reply #2 on: January 13, 2011, 08:57:22 pm »
Cool.  Doesn't get a whole lot easier!

-Joe

Zittergie

  • Full Member
  • ***
  • Posts: 114
    • XiX Music Player
Re: Need some simple FTP tools
« Reply #3 on: April 23, 2011, 03:52:52 pm »
Very helpfull indeed.
I need to upload files from within my application, but how can you make sure that your login & pass can not be read from the executable code or packet sniffers?
Is there a way to just send a filename (including path) to a php and use the php to upload to the webspace?

The problem:

I am working on a coin catalog.  Users can make listing of wanted coins and coins to exchange.  I want to put this list online from within the coin catalog program, so that users do not have to visit a website to upload their data.

Getting the data from the website is no problem, I already have this working.
Be the difference that makes a difference

 

TinyPortal © 2005-2018