Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 589973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:28:47+00:00 2026-05-13T15:28:47+00:00

I am trying to copy C source files from a vms alpha to a

  • 0

I am trying to copy C source files from a vms alpha to a windows machine to allow easier editing of the code. (VMS editor is just a text editor and it would be nice to have syntax highlighting etc)

I can copy this across using Exceed FTP and this handles the issue of duplicate filenames with version suffix that vms has:

  • File.c;1
  • File.c;2
  • Flle.c;3

But when I open a file I’ve transferred, all the line breaks have been lost and the entire file is just one line.

Can anyone recommend a solution to this or offer any hints?

Thanks in advance

ps. I need to be able to copy the files back to vms and still maintain format.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:28:48+00:00Added an answer on May 13, 2026 at 3:28 pm

    It may be off interest by now, but in case you still wonder about “one-line” text files after FTP transfer.

    The short answer: force the FTP transfer mode to ASCII (or text) in your FTP client. This will make sure that the C-files you transferring (in fac all files) are treated as text, otherwise they’re assumed to be binary, so you get a byte-stream.

    Long answer: There’re 2 FTP transfer modes: ASCII/text and binary/image. The default is sometimes clent or server-specific.

    Many clients have Auto-mode that interprets the file extension to set the proper transfer mode (.TXT,.CSV etc..)

    When you access the VMS server via FTP client, too often the [Win-based] client is not VMS friendy, so it does not parse the file-list properly. Thus it gets confused by version number appended to the “usual” file-name:
    filename.ext;ver ==> file.c;1

    So instead of seeing .C (and assuming text), it sees .C;1 and thinks it’s binary.

    I use Filezilla FTP client to/from VMS and so far it does it properly (though version-support is not as I’d sometimes like).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to copy multiple files from a deep source tree that have the
im trying to copy 300 lines from one file to another, in source file
I'm trying to copy both an image from a file and text from a
Yo! I'm trying to copy a few chars from a char[] to a char*.
Basically, I'm trying to selectively copy a table from one database to another. I
Im trying to get a completly data copy from a gridview, itryed clone(), tryed
I am trying to read a single file from a java.util.zip.ZipInputStream , and copy
I am trying to insert some copy-right information into the beginning of some source
Background I am trying to create a copy of a business object I have
I am trying to make a copy of a database to a new database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.