FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Rename a file on FTP Server
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Rename a file on FTP Server
Posted: Sat Aug 23, 2008 03:30 PM

Hi,

Is there a way to rename a file on an FTP Server?

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Rename a file on FTP Server
Posted: Sat Aug 23, 2008 04:39 PM

Jeff,

Using the TFTP class:

oFTP:RenameFile( cOldFileName, cNewFileName )

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Rename a file on FTP Server
Posted: Sun Aug 24, 2008 11:31 AM

Thanks James.

I keep forgetting to look at the source code ... The rename function was not in the help guides

:?

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Rename a file on FTP Server
Posted: Sun Aug 24, 2008 02:52 PM
Jeff,

I usually go right to the source. It is hard to complain about the help files not being up to date, when problems are fixed and new features added at such a fast rate.

I also use Copernic Desktop Search a lot. I can find anything in my source or FWH source in a few seconds. I can't live without it.

www.coperneic.com

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Rename a file on FTP Server
Posted: Thu Aug 28, 2008 02:49 AM

Thanks James.

I just installed it :D

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)

Continue the discussion