login about faq

With native Perl ftp the method either accepts put(localfile) or put(localfile,remotefile), and I use the put(localfile) method to drop files wrapped by JCL into a IBM Mainframe JES Reader.

Chilkat only supports the latter, ie there is no remotefile for the JES Reader.

Any Ideas? Thanks.

asked Jan 25 '13 at 16:56

cdlvj130's gravatar image

cdlvj130
9691017


The Perl FTP API and the Chilkat FTP API ultimately send the same FTP command for uploading a file, which is the "STOR" command which has a single argument, which is the remote filename. The local filename/path is only known by the FTP client. It is responsible for opening the file, and reading/streaming its data to the data connection opened after issuing the STOR command. In other words, the FTP server knows nothing about the local filename/path.

That being said, the solution to this problem is to understand what Perl FTP is using for the remotefile when only the localfile is provided. Maybe it's simply the fact that localfilename=remotefilename when only localfile is specified..

link

answered Jan 28 '13 at 09:14

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×4
×3
×2
×1

Asked: Jan 25 '13 at 16:56

Seen: 1,022 times

Last updated: Jan 28 '13 at 09:14

powered by OSQA