Transfer txt file from local to server

Hie,

I want to tranfer one txt file from local to server . How do i do that through ftp activities. Givr me step by step activities to fo that

Hi @poojaskyrathore,

Install the UiPath FTP Activities package from Manage Packages. Search for UiPath.FTP.Activities and install it.

  • In the Activities panel, search for FTP Scope.
  • Drag it into the workflow.
  • Configure Host, Username, Password, Secure Connection (“False” for standard FTP and “True” for FTPS)
  • Search for Upload File activity and drag it inside the FTP Scope.
  • Configure: Local Path, Remote Path and Overwrite option.

Cheers!

hie ,

it is throwing error as local path is not right

then, have you verified that the file on the local path is available.
pls attach screenshots or explain in detail if you need detailed help.

SG.

If the file is on a local machine, I’d use a shared folder or a network path and make sure the UiPath Robot account has the right read/write permissions. That’s usually more reliable than hardcoding a local path.

Hi @poojaskyrathore ,

To transfer a .txt file from your local machine to a server using FTP activities, follow these steps:

  1. Install the UiPath FTP Activities package from Manage Packages.
  2. Drag FTP Session activity into your workflow.
  3. Configure:
    • FTP Server: ftp://serveraddress
    • Username: FTP username
    • Password: FTP password
  4. Inside the FTP Session, add the Upload Files and Directories activity.
  5. Set:
    • Local Path = C:\Files\Test.txt
    • Remote Path = /TargetFolder/Test.txt
  6. Run the workflow and verify that the file is uploaded to the server.

Thanks

Hi @poojaskyrathore

you can do this using UiPath FTP activities.

First, create an FTP Session and provide the server details like Host, Username, Password and Port. Then, inside the FTP Session, use the Upload File activity. Give your local .txt file path in the Local Path and the destination folder/path in the Remote Path.

The flow will be:
FTP Session → Upload File

If it’s SFTP, use the SFTP activity with port 22.