FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour tIPClientFtp
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
tIPClientFtp
Posted: Wed Nov 07, 2018 09:19 PM

Hello,
can someone help me out with the syntax for the
tUrl + tIPClientFtp classes.

I would like to upload to a certain directory.
How can I do that.

oFtp:UploadFile( cdir + cfile )

How should the string look like:
"\mydir\" + "myfile.zip" is not working.
I also tried with slash but it is not working.

Where do I find the source code of the xharbour class.

Thank you in advance
Otto

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: tIPClientFtp
Posted: Wed Nov 07, 2018 10:06 PM

Try using Cwd() method to change the working directory. The source code is in source\tip\ftpcln.prg (SVN). Or you can download xHarbour source code from xharbour.org.

EMG

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: tIPClientFtp
Posted: Wed Nov 07, 2018 10:13 PM

Enrico thank you. This is working fine.
Best regards
Otto

Continue the discussion