Sponsored Content
Operating Systems Linux Ubuntu Debian (ubuntu) file problem after ftp Post 302141023 by royalibrahim on Wednesday 17th of October 2007 09:36:25 AM
Old 10-17-2007
Actually I tried several times connecting Linux pc through ftp from DOS command prompt but could not succeed. It only happens when "sftp.exe" is used (I guess it is a secure ftp file). But I found the solution for my problem. A file has to be created (with some data) in the Linux environment and the windows file which is ftp'd should be concatenated to this file. So now we are able to see the "^M" control characters of the file in vi, as we have mixup of Linux based and DOS based newline characters in the same file and now it is possible to delete these DOS characters. But if the file contains data carriage return'd only by DOS newline character (ASCII-13), the vi editor is not showing those character and consider this file as "DOS" based file, a strange behaviour and I could not apply any method to replace this character using vi or sed or even with Perl. That is why I said to create a Linux based file with some data.

N.B: while a file containing only DOS newline character, then vi's :set list (or) od command (or) strings, nothing is useful.
 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Memory-waste in Ubuntu/Debian?

I have 512 mem on this laptop, though 'top' tells me I only have 380. However, Ubuntu is using 288 mb of memory, when I only have 3 terminals, running lynx, vim(for this file) and (of course) top. Considering it I have lynx running a 600 page txt file, which of course would eat some memory but 300?... (0 Replies)
Discussion started by: riwa
0 Replies

2. SuSE

ubuntu to pure debian

ok, im going to start off by saying i am a newbee so some of the stuff i say may not be right. but anyways, right now i am using ubuntu hardy for my main distrobution. i love it and all, but the main reason i switched to linux (besides drm and the blue screen i see on my comp about ten times a... (13 Replies)
Discussion started by: Texasone
13 Replies

3. Solaris

Video capture and editing on Solaris vs Debian vs Ubuntu

I am interested in doing some heavy video work. I have a ADVC 110 Video capture device, which I am using to capture VHS video tapes, which I will convert on the server to DVD format and burn to DVD's using DVD production software. I will also take the captured video file and split it up in parts... (1 Reply)
Discussion started by: Marcus Aurelius
1 Replies

4. Linux

What is the lightest distro for using Debian/Ubuntu softwares

Which distro uses lowest system resource (when installed on hard_disk/usb.) where I can install software from Debian OR Ubuntu repository? I found Quelitu which is based on Lubuntu, but uses less memory as given on their site. There are lighter distros but most of them are based on Slackware. I... (0 Replies)
Discussion started by: iripu
0 Replies
import-bug-from-debian(1)				      General Commands Manual					 import-bug-from-debian(1)

NAME
import-bug-from-debian - Import bugs from Debian's BTS, and file them against Ubuntu in LP. SYNOPSIS
import-bug-from-debian [options] bug... import-bug-from-debian -h DESCRIPTION
import-bug-from-debian clones bugs from Debian's BTS into Launchpad. Each bug listed on the command line has its initial report re-filed against the same source package in Ubuntu. The Ubuntu bug is linked back to its Debian counterpart. Each bug may be provided either as a bug number or URL. OPTIONS
-b, --browserless Don't open the bug in a browser at the end. -h, --help Display a help message and exit. -l INSTANCE, --lpinstance=INSTANCE Use the specified instance of Launchpad (e.g. "staging"), instead of the default of "production". -p PACKAGE, --package=PACKAGE Launchpad package to file bug against, if not the same source package name as Debian. Useful for importing removal bugs filed against ftp.debian.org. --no-conf Do not read any configuration files, or configuration from environment variables. ENVIRONMENT
All of the CONFIGURATION VARIABLES below are also supported as environment variables. Variables in the environment take precedence to those in configuration files. CONFIGURATION VARIABLES
The following variables can be set in the environment or in ubuntu-dev-tools(5) configuration files. In each case, the script-specific variable takes precedence over the package-wide variable. IMPORT_BUG_FROM_DEBIAN_LPINSTANCE, UBUNTUTOOLS_LPINSTANCE The default value for --lpinstance. SEE ALSO
ubuntu-dev-tools(5) AUTHORS
import-bug-from-debian was written by James Westby <james.westby@ubuntu.com>, and this manual page was written by Stefano Rivera <ste- fanor@ubuntu.com>. Both are released under the terms of the GNU General Public License, version 2. ubuntu-dev-tools September 21 2010 import-bug-from-debian(1)
All times are GMT -4. The time now is 05:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy