Rename a file on FTP Server

Rename a file on FTP Server

Postby Jeff Barnes » Sat Aug 23, 2008 3: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)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Postby James Bott » Sat Aug 23, 2008 4:39 pm

Jeff,

Using the TFTP class:

oFTP:RenameFile( cOldFileName, cNewFileName )

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Jeff Barnes » 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)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Postby James Bott » Sun Aug 24, 2008 2: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

Image
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Jeff Barnes » Thu Aug 28, 2008 2:49 am

Thanks James.

I just installed it :D
Thanks,
Jeff Barnes

(FWH 16.11, xHarbour 1.2.3, Bcc730)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 41 guests