Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8955195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:29:42+00:00 2026-06-15T14:29:42+00:00

How can I transfer files between directories with ftp using SSIS? I know I

  • 0

How can I transfer files between directories with ftp using SSIS?

I know I can delete and re-upload the file, but is there an easier way?

I want to transfer a file I finished with to an ‘Archive’ folder.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T14:29:44+00:00Added an answer on June 15, 2026 at 2:29 pm

    The theoretical answer is you would use the combination of the commands RNFR (rename from)/RNTO (rename to) to rename (move) a file. Within your FTP session, you’d issue a command like

    ftp> rnfr /src/test/done.txt
    ftp> rnto /src/test/Archive/done.txt
    

    I say theoretical as my testing using the Windows command-line FTP client (system32\ftp.exe) connecting to a z/OS ftp server would result in the client indicating RNFR/RNTO is an Invalid command

    The windows client does implement a rename method which under the sheets seems to issue RNFR/RNTO.

    A simple rename looks like

    ftp> rename empty.txt e.txt
    350 RNFR accepted. Please supply new name for RNTO.
    250 /src/test/empty.txt renamed to /src/test/e.txt
    

    However, I could not get it to move under a directory

    ftp> rename empty.txt Archive
    350 RNFR accepted. Please supply new name for RNTO.
    550 RNTO fails: /src/test/Archive is a directory.
    
    ftp> rename empty.txt Archive/
    350 RNFR accepted. Please supply new name for RNTO.
    550 RNTO fails: /src/test/Archive/ is a directory.
    
    ftp> rename empty.txt Archive/emp.txt
    350 RNFR accepted. Please supply new name for RNTO.
    550 Renaming attempt failed. Rc was 111
    

    I don’t know if this is a failing of the client implementation or the server (or both). Or, it might just be an insufficient set of permissions for my credentials.

    How does this apply to SSIS?

    Whatever steps it takes for you to get the rename working in a command line is going to be the same set of commands you’ll want to issue. If you’re using the built-in FTP Task, you’ll see there is no rename available to you. You may also discover that it’s one of the most blecherous tasks in the toolbox. Instead, I am a strong advocate of either using a command file for the windows FTP client or using the .NET FTP library

    References

    • RFC on FTP describing what standard command should page (page 31) https://www.rfc-editor.org/rfc/rfc959
    • Examples of common FTP commands http://www.hiteksoftware.com/help/English/FtpCommands.htm
    • An example of how RNFR/RNTO should work http://trac.filezilla-project.org/ticket/2218
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to transfer large files between computers on via unreliable connections using WCF.
I am writing a Perl script that needs to transfer files between computers using
I have a workflow that moves files around between ftp sites. It can be
I can upload a file to my Apache web server using Curl just fine:
Is it possible to create a app using Titanium Desktop to transfer files between
i want transfer files using p2p connection. There will be a server or any
In C (UNIX), how can I transfer and receive a file in multiple blocks
As I know, I can use global variable transfer the value among the multi
i have a query that, how can i transfer an object from php file
Is there a difference between directly downloading a file from a web server, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.