Networking :: JPG Corrupted After FTP-upload In ASCII Mode?

Nov 23, 2010

I just uploaded JPG pics from a Win XP, through shell, on my FTP.When I downloaded them back (to a UNIX machine), they were all currupted and unreadable !After some researches, I found that Win XP's shell works by default in ASCII mode.

View 3 Replies


ADVERTISEMENT

SUSE :: Transferring Files Using FTP In ASCII Mode?

Nov 5, 2010

I am trying to download a EBCDIC file from z/Os to UNIX using FTP in ASCII mode. The problem I am seeing is; when UNIX FTP Client issues a get; UNIX CPU goes to 100% CPU utilization when transferring a file in ASCII mode. I have done packet traces using wireshark and noted that z/OS Server is translating the file to ASCII before putting it on the wire, however when UNIX FTP Client gets the file I believe that the UNIX FTP Client is again translating the file to ASCII causing the 100% CPU utilization. I need verification that this is what is happening, and is there a way of getting around this other then transferring the file in binary mode then doing a EBCDIC

View 1 Replies View Related

General :: FTP "ASCII" Mode - RFC 959 - "File Transfer Protocol"

Jun 8, 2010

[ This thread is a result of <<mod edit---another thread>> RFC 959, "File Transfer Protocol", dictates:

Code:

3.1.1.1. ASCII TYPE

This is the default type and must be accepted by all FTP implementations. It is intended primarily for the transfer of text files, except when both hosts would find the EBCDIC
type more convenient.

The sender converts the data from an internal character representation to the standard 8-bit NVT-ASCII representation (see the Telnet specification). The receiver will convert the data from the standard form to his own internal form. In accordance with the NVT standard, the <CRLF> sequence should be used where necessary to denote the end of a line of text. Regardless of <<mod edit--another member's>> attempt to misinform and claim some sort of expertise in whatever, the ASCII mode works as expected.

Quote:

// From <<mod edit---another thread>>

So, go on, vi a document in linux, save it with a .txt extension then ftp get it from a windows machine. Make sure to open it with Notepad. I am writing this post from the very same Windows machine I used in order to conduct the exact experiment you are suggesting. The text file has been successfully converted. If it has not worked for you in about 20 years, I would suggest you start using an FTP server that does not suck, or for the very least one that respects the FTP standard. It is also possible that you used a client which does not use ASCII mode by default, in which case we are dealing with PEBKAC rather than with bad server software.

The purpose of this thread isn't to continue the odd debate regarding signatures that was starting in <<mod edit---another thread>> but rather to (hopefully) protect various users from trusting <<mod edit--another member>> in this certain (FTP) matter. Tinkster closed the thread just as I was preparing to post, thus giving <<mod edit--another member>> the last "word". Once again: he doesn't know what he is talking about, despite his "doing this for over a decade". I'm wondering if "this" means "spreading misinformation and reinforcing it with claims of being an expert".

View 2 Replies View Related

Networking :: ASCII / Binary FTP Transfer Modes

Sep 14, 2009

I had a problem with the old good ascii/binary FTP transfer modes. I transferred some files (SQL scripting files, in which carriage returns DO matter) using FTP from a windows system to a linux system using filezilla "auto" mode, that should have resulted in ASCII mode for my sql files. These files are well formed and identical to the originals.

Then, someone else picked these files and moved them to another ftp server. I finally found that all <CR><LF> couples have been transformed in <CR><CR><LF>. I guessed that the problem was in the ASCII transfer mode - but, how comes that <CR><LF> => <CR><CR><LF>? I would have rather expected <CR><LF> to become <CR>.

View 2 Replies View Related

Ubuntu Servers :: 10.04 No Upload Folder In /tmp With Php Upload Script?

Jun 13, 2010

have setup a LAMP server with ubuntu 10.04 server edition x86 for my study in VMware Workstation 7.1 For a assignment I had to make a php script that would load a file up to the server and set the name in a mysql database. According to the book the server should set the image in a cryptic folder in the /tmp/ folder.

This isn't working and i also try'd locate and find to find the image i uploaded. I checked the php.ini and file uploads were on but no folder so i set that one to /tmp/ but still no images. Can anyone help me with enabling this function?

View 3 Replies View Related

Ubuntu Installation :: DEVED Error 1 "corrupted Filesystem Tarfile - Corrupted Package Archive"

Jan 24, 2010

I'm COMPLETELY new to linux. I"m running Ubuntu 9.10 and TRYING to install Devede. I have tried the Terminal, Synaptic Manger, and the Add/Remove and still keep getting this same error. I'm running a regular 32 bit Pentium 3 process to test if I like Linux or not. this is what it says: E: /var/cache/apt/archives/libavcodec-extra-52_4%3a0.5+svn20090706-2ubuntu3_i386.deb: corrupted filesystem tarfile - corrupted package archive this is not a DUAL boot computer either.

View 8 Replies View Related

Ubuntu Networking :: High Throuput Mode Aka 11n Aka 801.11n Mode On Airlink101 AWLL6075?

Sep 21, 2010

I ordered this USB 802.11n dongle for about $10 and am having problems.I found a firmware related bug (Bug #595455) that keeps it from working out of the box and got around that. I put the right firmware file in the right place and CAN CONNECT TO B or G Access Points.hen I put my AP in N-Only mode, I can see the network, but cannot associate. With the AP in mixed mode I can Associate using G.The most interesting thing I found was something that had very
few google hits (like 4). In the dmesg output after associating I see the message:

Successfully associated, ht not enabled(0, 1)The most interesting thing about this is the (0, 1) at the end.I don't know what that means but it seems like a clue as to what the problem is.This device uses the realtek chipset 8191S, there are conflicting reports on this, but all the reported possibilities seem to use the same driver from realtek (rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.2010 0625).Here is some random info:

Dmesg output:
[85082.620027] usb 1-3: new high speed USB device using ehci_hcd and address 6
[85082.754586] usb 1-3: configuration #1 chosen from 1 choice
[85082.755456] ==>ep_num:4, in_ep_num:1, out_ep_num:3[code]........

View 1 Replies View Related

Debian :: What Is " 'name Of Packet.deb' Is Corrupted" - Watch List Of Corrupted Packets?

Aug 15, 2010

What is " 'name of packet.deb' is corrupted" ? How i do watch list of corrupted packets? How i do reinstall all corrupted packets?

OS: debian

View 3 Replies View Related

CentOS 5 :: Convert Between "ASCII English Text" And "ASCII Text"?

Aug 3, 2011

This is weird, and I never noticed before, but now I have an application that is borking on weird things like when /etc/hosts is of one file format or another, and I don't even know the difference between the two (google doesn't tell much either). on CentOS 5.5/5.6 x86_64: a which on the following is an interesting tell:

vi = /bin/vi
vim = /usr/bin/vim

both are actually vim version 7.0.237 but sum differently, and although they are both actually separate executables in the stock installs of CentOS I've been building, on most distros, and older versions of CentOS it seems, vi is usually just a symlink to vim - but again, not in these fresh installs it seems. When I create a file with the 'vi' above, it defaults (usually) to "ASCII text" (but not always) When I create a file with the 'vim' above, it defaults to "ASCII English text" (and causes a particular application I'm working with to bork and barf). It seems the OS is installed by default yielding both file types too, as evidenced by the following:

[Code]...

View 4 Replies View Related

Ubuntu Networking :: Connection Gets Corrupted After A Certain Software Installation

Jun 26, 2011

Ubuntu 11.04 32bit TP-Link TL-WN821N which is listed HERE as supported using the ar9170usb driver.So I've done 4 fresh reinstalls and each time after a specific step following THIS guide my Wireless connection gets corrupted and does not want to work. The last time I did all the changes in small steps so I can catch the offending one and so after I've executed the code below and restarted my system the wifi went haywire:

Quote:
cd ~
sudo apt-get install dkms
wget http://www2.ati.com/drivers/linux/at...x86.x86_64.run
sudo sh ati-driver-installer-11-5-x86.x86_64.run --buildpkg Ubuntu/natty
sudo dpkg -i *.deb
sudo apt-get -f install
sudo aticonfig -f --initial --adapter=all
sudo reboot

Up until that point everything was working just fine and I was remotely managing my desktop using a Windows VNC Viewer and Ubuntu Remote Desktop. So could it be that this dkms (whatever that is) is causing the problems? Do I even need to install it for all the other software to work as it is not mentioned in any other bitcoin mining guides? I would like to stress out that my connection is configured properly and I am 100% certain of that - as I said it is working like a charm up until the point of executing the commands above and restarting.

Any suggestions as the last 3 days have been a nightmare trying to figure out what's wrong after each fresh installation. P.S - The guide says to execute sudo aptitude install dkms but I guess the aptitude package is not installed so I ran sudo apt-get install dkms instead. If that makes any difference?

View 2 Replies View Related

Networking :: How To Limit Upload Rate?

May 30, 2010

I have a linux box running between my router and my LAN. My connection speed is 10MB download and 1MB upload. The issue is that whenever someone starts to upload something, it is like my connection is down. No one else can open websites, read emails etc.Is it possible to place a limit for upload, maybe 50kb/s? This way, people won't use the entire upload speed available.

View 1 Replies View Related

Ubuntu Networking :: Separating Download From Upload?

Jul 8, 2010

I have the following network setup:

The idea is to separate the download and the upload, namely to send the upload on Net1 and the download on Net2, completely transparent to the client. My first ideas were using simple routing rules....having the default gateway for Gateway A over Net1 and having the route to the client in Gateway B over Net2. However, if I do that, the packets arriving in Gateway B from the client, aren't forwarded anymore. The same thing happens if I don't have any route to the client in Gateway B. In order to forward the packets, does it really matter if the router knows how to route to the source and does it really mater if the packet arrives on the same interface as the routing rules point to?

View 1 Replies View Related

Networking :: Large FTP Upload Slows And Fails?

Feb 3, 2010

I am programmatically doing a large FTP upload (about 5 Gb's of 2-3 Mb files) from my Windows 7 machine to a ProFTPd server on my Ubuntu box. When the program is run, transfer rates are huge! but as run time continues, transfer rates drop off significantly and eventually slow to a halt resulting in a:

Quote:

Read Timed Out

error.

The rest of the uploads fail due to Socket Read Errors.

Why is the transfer failing like this?

View 2 Replies View Related

General :: Partition Table From Fdisk - Cylinder Mode - Sector Mode - Expert Mode ?

Aug 30, 2010

Below is a print out of my partition Table from Fdisk, in Cylinder mode, Sector mode, and then in expert mode?

Why in expert mode does it look like Partitions 2 and 3 share the same sector / hd / Cylinders? Is this OK?

Code:

View 3 Replies View Related

Networking :: Extremely Slow Upload Speeds On Network

Nov 16, 2010

Trying to watch movies between my systems and I'm getting upload speeds of 6.5 kb/s from my system to the one connected to the tv. I'm running Ubuntu on both machines, tried with VLC and XBMC. Both are running wirelessly but I know that this issue is new, I used to get at least a meg a second on LAN.

View 9 Replies View Related

Networking :: Find Out Download/upload Speed Of Each Slot?

Apr 13, 2010

from vuze(bit torrent client) it shows my total download speed to be 20.56 KB/s....while my network monitor tool shows a speed around 72.41 KB/s. Similar is the case with upload speed. In much simple words the download/upload speed that vuze shows appears to be less than that shown by the network monitor tool.I must mention that at the time vuze was running there was no other simultaneous downloads.I don't understand why this is so?Is there any tool that can give me the exact information of downloading & uploading speed or rather any tool that can give me the details of uploads/downloads presently going on.

View 2 Replies View Related

Ubuntu Networking :: Monitor Upload And Download For Whole Network Not Just Computer?

May 25, 2010

I am looking for a way to monitor my upload and download for my whole network not just my computer. I am using a laptop that is connected wirelessly to my router, i am able to monitor the upload and download for my laptop but i would like to view the statistics for for the whole network without being connected to the router.

View 6 Replies View Related

Ubuntu Networking :: Apache Throttle Upload 'and' Download Speeds?

Aug 9, 2011

I have installed libapache2-mod-bw and it works great to throttle download speeds to the clients (i.e. - the bandwidth out of the server can be controlled just peachy).However, I need to limit the bandwidth *into* the server from specific networks because my WAN links are tiny and do not have QoS or shaping of any sort (I know, I know - contracts in place - will be fixed in November - not my design).I know that there are ways to throttle this at the interface level (e.g. - wondershaper) but I'd like to allow full bandwidth to the clients that are connected locally. The server in question is for web file transfers (under apache2 on 443) and expected file sizes are up to 2GB so a per-network limit would prove helpful.

View 2 Replies View Related

Fedora Networking :: Cbq - Restrict Upload Speed From Ftp Server To Internet (eth1)

Dec 1, 2009

I have a Fedora 11 system and cbq.init-v0.7.3 in it. Now I want to restrict upload speed from my ftp server to Internet (eth1). According to docs I've made a simple file /etc/sysconfig/cbq/cbq- 00.inet_upload_restrict:

DEVICE=eth1,100Mbit,10Mbit
RATE=800Kbit
WEIGHT=80Kbit
PRIO=5
RULE=:20,

So as you can see I want to limit outbound traffic on eth1 from my ftp port 20 to any to the 800Kbit/s (100Kbyte/s). Now I do cbq start, it says: find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. but it starts and works. Now I check the speed and it is...

View 3 Replies View Related

Fedora Networking :: Config The Httpd Apache Server To Upload Files

Jan 6, 2011

my task is to store the data to a file at server sent via HTTP POST, i written suitable cgi script in C, but the PROBLEM is that i can't complete the task, I guess i require server permission to do so, how to configure server or how to get access right from server to store data to a file.

View 3 Replies View Related

Ubuntu Networking :: Terminal Command/script To Upload A File To An Ftp Server Without User Input?

Apr 26, 2011

I've got used to using the ftp command from the terminal, which is useful, especially with macros. But it requires user input, and what I want to do now is upload a specific file to a server, once I've finished working with it every day. It's the same file every day. II would like to be able to do this semi-automatically: I just give the command and it connects to the server and uploads the file. (I will probably want to encrypt the file before uploading it.)I don't know how I could use ftp without any user input: I want it to be automatic.

View 5 Replies View Related

General :: Convert Text To ASCII?

May 20, 2010

how i can convert a text to ASCII? >>> ( to encrypt the text ) and how can we use the "hexdump"

View 5 Replies View Related

General :: How To Use Extended ASCII Characters

Apr 6, 2010

How can I use extended ascii characters, like ALT + 2 + 0 + 0 for instance? I'm using some of those characters for my passwords for online accounts made under MS Windows and it seams I'm unable to use them in Slackware 13. For instance: if I type ALT+2+0+0 in Pidgin there is no character displayed and if I type in the Terminal the same thing, it will replace my shell prompter (sasser@HOSTA:~$) with (arg: 200):
sasser@HOSTA:~$
(arg: 200)

View 2 Replies View Related

Programming :: Filter ASCII Characters PHP?

Mar 8, 2010

How can I filter ASCII quotes( ' ) and double quotes ( " ) so that I can replace them with the UTF-8 equivalent?If I copy text from a Word Document(ASCII), and upload it to a web page with PHP. The Database(UTF-8) will replace these racters with incorrect character(s).I need some function that will replace these characters but I don't know how to differentiate the ASCII quotes and the UTF-8 Quotes without (somehow) converting the string to hex, then preg_replace'ing the hex code for the symbol.

View 8 Replies View Related

Programming :: Not Reading Non-ASCII Characters

Apr 26, 2010

Well, I have a web application in Linux server. All my Java codes are there. FYI, whenever user entered non-ASCII characters(e.g. ∞,�,�) in a text field in my web application, and I check the log of my Java code in Linux server, it returns weird characters.

Suppose user entered ∞ in the text field. I should get ∞ in my log too. However, I got weird characters in return.

View 14 Replies View Related

Programming :: Print All ASCII Characters In C#?

Mar 9, 2011

i want to print all ASCII characters kind of like a table, but i really don't have an idea of how to do it, i don't know if there is a built-in method or something to accomplish this, if not

View 2 Replies View Related

Programming :: Qt Conversion From Ascii To QString?

Aug 25, 2010

I'm working on a Qt program and when it gets to the following line of code I get a seg fault:

QString blah = QString::fromAscii(entry->d_name, 256);

entry->d_name is a 256 byte character array returned by readdir(), I would expect this line of code to convert that character array from ascii to a QString, but I get a seg fault and I'm not entirely sure why..

View 2 Replies View Related

Red Hat :: Convert A Unicode File To Ascii?

Jul 1, 2010

I need to be able to convert a unicode file to ascii using red hat.

View 1 Replies View Related

Slackware :: Watching A Movie In ASCII Art?

Jan 23, 2010

What do i have to make to be able to watch a movie in a TTY...? there is this library called AAlib, and there is a slackbuild for it, form osuosl [URL], but besides of this I do not know how it is done...

View 11 Replies View Related

Fedora :: Get Mplayer To Play Videos In ASCII?

Apr 5, 2010

I'm trying to get mplayer to play videos in ASCII, but I get an error... I don't know why. It works fine on my desktop, but my laptop is outputting an error...

This is the command:

Code:
mplayer -vo aa video.flv

This is the error I get:

Quote:

MPlayer SVN-r29800-4.4.2 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

[Code].....

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved