Moving files from folder to folder on server

To the Ipswitch web site

Ipswitch Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Moving files from folder to folder on serverExpand / Collapse
Author
Message
Posted 8/4/2004 8:52:27 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/5/2004 9:46:00 AM
Posts: 1, Visits: 1

Moving files from folder to folder

We are a printing company. Our CSRs (Customer Sales Reps) receive image

files from customers via ipswitch ftp.

Depending on whether or not we are going to print it inhouse or outside the

file needs to be moved to one of 8 different folders so that the proper

vendor can pick it up. Each vendor has their own private folder /

userid/password.

So for a CSR to move a file the go to their windows desktop and drag the

file (1 to 30 meg.) from one folder to another.

so now that file travels up the network to the PC and then back down again.

What we need is a away to tell some application on the server to move the

bugger from "A" to "B".

Any ideas?



BBF Tech Support
Post #573
Posted 8/5/2004 9:36:05 AM


Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime Traveler

Group: Moderators
Last Login: 7/16/2008 8:55:05 AM
Posts: 176, Visits: 9
Two commands exist the FTP specification to help you: RNFR and RNTO. To use these in WS_FTP Pro, Either use the QUOTE command to run each (right click the remote window and select "QUOTE" under the "Operations" submenu), or set up a script.

To move, say, pic.jpg from the current folder to a different user folder, you would do something like this:

RNFR pic.jpg
RNTO ../user1/pic.jpg

Or use the whole path, if you know it. That will remove pic.jpg from your directory and move it into the user1 directory. Note that if you use WS_FTP Pro's QUOTE option, both of those commands are separate QUOTE calls.

Try that out and see if it works for you.





Brandon Felger
IMail Install Developer
Ipswitch
Post #600
Posted 8/5/2004 10:34:18 AM


Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime Traveler

Group: Moderators
Last Login: 7/16/2008 8:55:05 AM
Posts: 176, Visits: 9
I just realized there's an easier way to move files without using the QUOTE command.

Select the file in the remote connection pane, and click the "rename" icon. In the dialog box asking for the new name, type the full or relative path and the file name that you want to move it to. For instance, rename "pic.jpg" to "../user1/pic.jpg" or "/home/user1/pic.jpg" or whatever. You are able to use the "rename" option as a "move" command because it uses the RNFR and RNTO commands.

Also (and I wish I'd thought of this), you can copy and paste using the context menu (right-click on the file). This also uses RNFR and RNTO.





Brandon Felger
IMail Install Developer
Ipswitch
Post #602
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Dave, Mark Singh, kevin r gillis, Jason Benton, Brandon Felger, Ben Henderson, Tripp Allen, Will Sansbury, Jason Williams, Hush, FTPplanet.com, LDW, Hugh Garber, WUP-PM, mmulryan@ipswitch.com, mswimm, Travis G.

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 6:35am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.016. 8 queries. Compression Enabled.