Questions tagged [winscp]
WinSCP is an open source free SFTP, FTP and SCP client for Windows. WinSCP is commonly used by developers to upload their code, such as PHP, to web servers. Beyond this, WinSCP offers scripting and .NET assembly to automate file transfer tasks.
winscp
1,070
questions
-1
votes
1
answer
29
views
How to skip winSCP asking for credentials in automated script?
I am new to using winSCP and Windows Task Scheduler. I am working on connecting to an external FTP server and copying its contents to a local directory on my PC.
When running my scheduled task, winSCP ...
-1
votes
0
answers
39
views
Script powershell - Synchronise multiple folders with remote directory with WinSCP script
What I want to achieve is to watch multiple local folders and whenever there is a file added to one of these folders I want that it must synchronise/copy those folders to the remote directory that is ...
0
votes
0
answers
68
views
Script powershell - Synchronise local folders with remote directory with WinSCP [duplicate]
I'm writing a Powershell script using WinSCP where I want to synchronize all files that are put into a local folder (or folders) and whenever this happens it should be transfered/copied to a sftp ...
0
votes
0
answers
20
views
Issue: Rasa Chatbot Model Training Stuck on AWS EC2 Instance
I'm facing an issue deploying my Rasa chatbot on an AWS EC2 instance. I've successfully transferred my Rasa project folder to the Ubuntu server on AWS using Winscp and installed Rasa on Putty's ...
0
votes
0
answers
38
views
To know PowerShell Script to compare timestamp of two directories of WinScp
I am new to PowerShell scripting and we have a problem statement to compare timestamp of files from two directories of WinScp. We know that winscp.net assembly support PowerShell script hence would ...
0
votes
1
answer
34
views
How to keep SSIS package running with ignore the file not exists in SFTP?
I create task in SSIS, there is task where I download file from SFTP server. The expected condition is no matter the file exists or not it will proceed to the next task.
I already test and if the file ...
0
votes
0
answers
12
views
Struggling with WinSCP Automating [duplicate]
I'm trying to automate a file transfer using WinSCP
I got this
@echo off
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
ftp://USER:PASS@IP
lcd C:\Users\SESAxxx\Desktop\logs
get log
exit
...
1
vote
1
answer
65
views
"unknown command ^" in bat file when calling WinSCP with wrapped lines
I am trying to download a file using WinSCP from a .bat file. I have the connection working now, but it keeps erroring out with the unknown command ^.
Any ideas how to resolve this?
Here is my code:
@...
1
vote
1
answer
45
views
Duplicating files from one directory to another on SFTP server using WinSCP and C#
I'm trying to duplicate files from one directory to another using WinSCP while using Session.DuplicateFile. It is duplicating file but instead of provided path, it is saving file on the root directory....
0
votes
0
answers
24
views
How to download single file from SFTP (WINSCP) server while using Azure Function? [duplicate]
Currently, there are methods
session.GetFiles(...),
session.GetFilesToDirectory(...)
But both of these methods have required parameter for localDirectory. Since I'm using Azure functions, there is ...
0
votes
1
answer
79
views
WinSCP .NET assembly directory list timeout
When there are many files in the remote directory often have session timeout problem, what's the default session time and if increase will be any side effects?
var allFiles = session....
0
votes
0
answers
26
views
Automate download files from SFTP site [duplicate]
I have a SFTP site which has new folder created daily containing previous day's business data in various files. I need to download the files required automatically. I created a .bat file as below -
...
2
votes
1
answer
441
views
Access denied when connecting to Azure App Service using FTP Credentials in WinSCP
I have created .NET 6 App Service in Azure and trying to connect FTPS endpoint using WinSCP:
Getting access denied error:
Could anyone please help..!
0
votes
1
answer
89
views
Renaming file extension after uploading to a remote server in WinSCP in batch file
I have a script that uploads files to a remote server using WinSCP. The files are processed and deleted by the receiver on the remote server. I would like to upload only new files being written to the ...
0
votes
0
answers
62
views
Move local files to another local directory after powershell script SFTP file watcher exchange
This is the script I'm using at the moment for file watching and uploading found here:
Watch for changes in local folder and upload them to SFTP server
How can I add in the function to move the local ...