tIPClientFtp

tIPClientFtp

Postby Otto » Wed Nov 07, 2018 9: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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6312
Joined: Fri Oct 07, 2005 7:07 pm

Re: tIPClientFtp

Postby Enrico Maria Giordano » 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
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: tIPClientFtp

Postby Otto » Wed Nov 07, 2018 10:13 pm

Enrico thank you. This is working fine.
Best regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6312
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 50 guests