Questions tagged [ncftp]
10 questions
3
votes
0 answers
How to overwrite existing files with ncftpget?
When getting a remote ftp file that exists in the local destination
ncftpget says that
local file appears to be the same as the remote file, download is not necessary.
What does appears mean? How does ncftpget check if this is the same file?
It…

wolfrevo
- 6,651
- 2
- 26
- 38
2
votes
2 answers
IIS6 server not allowing ncftpget to download files recursivelly
I'm working on an old Windows 2003 server with IIS 6.0. There's currently an FTP site in production on that server and I had a need to add another one which I did using a virtual directory. I can manually login, navigate several directories deep and…

aantiix
- 516
- 2
- 9
- 24
1
vote
2 answers
golang exec command output empty
I want run ncftpput in go and want to get the output string for analysis
but Only the following style can be output.
cmdStr := "ncftpput -R -f C:\\Users\\xx\\source\\go\\depolyment\\cfg\\login.cfg / C:\\Users\\xx\\source\\go\\depolyment\\cfg"
…

nil
- 59
- 4
1
vote
1 answer
Passing multiple arguments to parallel function when uploading to FTP
I'm using ncftpput to upload images to a ftp server.
An example of the script is
# destination. origin
ncftpput -R ftp_server icon_d2/cape_cin ./cape_cin_*.png
ncftpput -R ftp_server icon_d2/t_v_pres…

Droid
- 441
- 1
- 3
- 18
1
vote
1 answer
How to redirect console output of ncftpget to log?
I would like to capture the progress information during downloads.
I have tried, for example from a cmd prompt:
c:\Windows\ncftpget ftp://speedtest.tele2.net/1MB.zip > mylog
c:\Windows\ncftpget ftp://speedtest.tele2.net/1MB.zip >>…

JLM
- 11
- 1
0
votes
1 answer
How to parse the output of `ls -l` into multiple variables in bash?
There are a few answers on this topic already, but pretty much all of them say that it's bad to parse the output of ls -l, and therefore suggest other methods.
However, I'm using ncftpls -l, and so I can't use things like shell globs or find – I…

John Kealy
- 1,503
- 1
- 13
- 32
0
votes
1 answer
How to get a filename list with ncftp?
So I tried
ncftpls -l
which gives me a list
-rw-r--r-- 1 100 ftpgroup 3817084 Jan 29 15:50 1548773401.tar.gz
-rw-r--r-- 1 100 ftpgroup 3817089 Jan 29 15:51 1548773461.tar.gz
-rw-r--r-- 1 100 ftpgroup …

François Richard
- 6,817
- 10
- 43
- 78
0
votes
2 answers
ncftp deployment (via butbucket pipelines) getting "server said: www: no such file or directory" but path in filezilla is exactly right
I'm trying to automate deployment via ftp via bitbucket pipelines.
Path is:
/var/www/vhosts/maindomain.com/subdomain.maindomain.com
Tried it with and without the first forward slash in there. Also checked the default path when you connect and its…

SebastianG
- 8,563
- 8
- 47
- 111
0
votes
1 answer
NcFTP -S with -bb
I am trying to upload all changed files to my FTP server. However, I cannot use -S .tmp and -v when I use the -bb flag - and I can't use those options with ncftpbatch at all. Here is my code:
#!/bin/bash -eo pipefail
IN=$(git diff-tree…
user6152171
0
votes
1 answer
How to list all files affected by a tar command?
We run a daily backup script that puts a large tar file on a remote ftp server (with ncftpput). We need to have a local list of contents ("ls -la" or "tar -tvz") of this file without creating this large file locally before it is transferred and…

hellcode
- 2,678
- 1
- 17
- 21