niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » networking
Can ncftp overwrite files when running in the background?
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Kevin T. Neely
*nix forums beginner


Joined: 18 Jul 2006
Posts: 4

PostPosted: Wed Jul 19, 2006 2:01 pm    Post subject: Re: Can ncftp overwrite files when running in the background? Reply with quote

On 2006-07-19, richard@welsh.ca <richard@welsh.ca> wrote:
Quote:
I'm running ncftp in the background using bgput commands.
When the local file to be transferred already exists on the remote
machine ncftp tries to append - which fails ( and it's not what I want
it to do anyway ).
I want it to overwrite the remote file by default.
Can any one tell me if/how I can convince ncftp to do this?

If you have it running in the background, you may want to try 'ncftpput'.

I believe its default behavior is to overwrite if the file exists, at
least that is how I'm using it, and it works perfectly.

hope that helps,
K


--
http://astroturfgarden.com
Back to top
ynotssor
*nix forums Guru Wannabe


Joined: 09 Mar 2005
Posts: 209

PostPosted: Wed Jul 19, 2006 7:33 am    Post subject: Re: Can ncftp overwrite files when running in the background? Reply with quote

<richard@welsh.ca> wrote in message
news:1153290283.014052.225450@p79g2000cwp.googlegroups.com

[followup set to comp.os.linux.misc]

Quote:
I'm running ncftp in the background using bgput commands.
....
I want it to overwrite the remote file by default.
Can any one tell me if/how I can convince ncftp to do this?

"man ncftp" and search for "overwrite"
Back to top
richard@welsh.ca
*nix forums beginner


Joined: 19 Jul 2006
Posts: 1

PostPosted: Wed Jul 19, 2006 6:24 am    Post subject: Can ncftp overwrite files when running in the background? Reply with quote

I'm running ncftp in the background using bgput commands.
When the local file to be transferred already exists on the remote
machine ncftp tries to append - which fails ( and it's not what I want
it to do anyway ).
I want it to overwrite the remote file by default.
Can any one tell me if/how I can convince ncftp to do this?
Thanks in advance,
Richard
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Fri Nov 21, 2008 7:37 pm | All times are GMT
navigation Forum index » *nix » Linux » networking
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Running php file everyday on scheduled time sachin PHP 1 Fri Jul 21, 2006 12:49 pm
No new posts HPSBUX02108 SSRT061133 rev.12 - HP-UX Running Sendmail, R... Security Alert HP-UX 0 Thu Jul 20, 2006 6:43 pm
No new posts HPSBUX02108 SSRT061133 rev.12 - HP-UX Running Sendmail, R... Security Alert HP-UX 0 Thu Jul 20, 2006 5:53 pm
No new posts howto log in from one bsd-server to another and move file... Tobias Steer FreeBSD 3 Thu Jul 20, 2006 10:02 am
No new posts running a system function from c++ code Fred J. C++ 13 Thu Jul 20, 2006 2:54 am

Xbox Mod Chip | Tax | Credit Cards | Personal Loans | PHP Photo Gallery
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.5343s ][ Queries: 20 (0.4386s) ][ GZIP on - Debug on ]