1
   

Moving files on the server using a FTP client/commands

 
 
Reply Sun 14 Nov, 2004 07:41 am
Hi i have a photos site and i have currently uploaded to a directory nearly 100 megs.

My problem is, my site always archives previous years and i put the photos from photos/ to photos/archives/2004

I was wondering, is it possible to use FTP to move files between folders, or must i delete everything in photos/ and then reupload it all to photos/archives/2004 ?

I my site is written in PHP, so if this is not available with FTP, could I write a script that does it, and if possible, could someone link me/provide me with an example? Thanks very much
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 460 • Replies: 1
No top replies

 
Craven de Kere
 
  1  
Reply Mon 15 Nov, 2004 12:14 am
Re: Moving files on the server using a FTP client/commands
twenty.five.to.five wrote:

I was wondering, is it possible to use FTP to move files between folders


Yes.

RNFR = rename from
RNTO = rename to

So you send the first one:

RNFR from-filename

Then you send the second one:

RNTO to-filename
0 Replies
 
 

Related Topics

YouTube Is Doomed - Discussion by Shapeless
So I just joined Facebook.... - Discussion by DrewDad
Internet disinformation overload - Discussion by rosborne979
Participatory Democracy Online - Discussion by wandeljw
OpenDNS and net neutrality - Question by Butrflynet
Internet Explorer 8? - Question by Pitter
 
  1. Forums
  2. » Moving files on the server using a FTP client/commands
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.04 seconds on 09/29/2024 at 08:28:59